cull: Force objects to have length or rows equal to the shortest

Description Usage Arguments Examples

View source: R/cull.r

Description

Force objects to have length or rows equal to the shortest

Usage

1

Arguments

...

Vectors, matrices, or data frames.

Examples

1
2
3
4
5
6
7
a <- 1:10
b <- 1:20
c <- letters
cull(a, b, c)
x <- data.frame(x=1:10, y=letters[1:10])
y <- data.frame(x=1:26, y=letters)
cull(x, y)

adamlilith/omnibus documentation built on Nov. 21, 2018, 11:01 a.m.