cjoint: Combine R Objects by Columns

Description Usage Arguments Value See Also Examples

View source: R/ExportedFuncs.R

Description

Combine a sequence of vector, matrix or data-frame arguments by columns. Vector is treated as a column matrix.

Usage

1
cjoint(..., fill = NA)

Arguments

...

vectors or matrices

fill

a scalar used when these objects have different number of rows.

Value

a data frame

See Also

cbind

Examples

1
2
3
cjoint(2,c(1,2,3,4),matrix(1:6,2,3))
cjoint(v1 = 2, v2 = c(3,2), v3 = matrix(1:6,3,2),
       v4 = data.frame(c(3,4,5,6,7),rep("x",5)),fill = 99)

Wenchao-Ma/GDINA documentation built on May 4, 2018, 3:24 p.m.