cjoint {GDINA}R 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)


[Package GDINA version 2.9.4 Index]