Learn R Programming

tern (version 0.9.8)

combine_vectors: Element-wise combination of two vectors

Description

Element-wise combination of two vectors

Usage

combine_vectors(x, y)

Value

A list where each element combines corresponding elements of x and y.

Arguments

x

(vector)
first vector to combine.

y

(vector)
second vector to combine.

Examples

Run this code
combine_vectors(1:3, 4:6)

Run the code above in your browser using DataLab