cjoint: Combine R Objects by Columns

View source: R/ExportedFuncs.R

cjointR Documentation

Combine R Objects by Columns

Description

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

Usage

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

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 Nov. 13, 2022, 5:35 a.m.