R/utils.R
combine_vectors.Rd
Combine Two Vectors Element Wise
combine_vectors(x, y)
(vector) first vector to combine.
vector
(vector) second vector to combine.
A list where each element combines corresponding elements of x and y.
list
x
y
combine_vectors(1:3, 4:6) #> [[1]] #> [1] 1 4 #> #> [[2]] #> [1] 2 5 #> #> [[3]] #> [1] 3 6 #>