combineVectors: A function for collapsing 2 or more vectors containing NA...

Description Usage Arguments Value Examples

View source: R/vectormanipulation.R

Description

Collapses from first to last

Usage

1

Arguments

...

n vectors

Value

a single vector

Examples

1
2
3
4
5
6
v1 = c(1,NA,NA)
v2 = c(2,3,NA)
v3 = c(4,5,6)

combineVectors(v1, v2, v3)
#returns 1, 3, 6

jacobfredsoee/LCEF documentation built on Jan. 9, 2020, 9:58 a.m.