rcosmo (version 1.1.2)

cbind.CMBDataFrame: cbind for CMBDataFrames

Description

Add a new column or columns (vector, matrix or data.frame) to a CMBDataFrame. Note that method dispatch occurs on the first argument. So, the CMBDataFrame must be the first argument

Usage

# S3 method for CMBDataFrame
cbind(..., deparse.level = 1)

Arguments

...

(generalized) vectors or matrices. Columns to bind.

deparse.level

Integer controlling the construction of labels in the case of non-matrix-like arguments.

Details

See the documentation for cbind

Examples

Run this code
# NOT RUN {
cmbdf <- CMBDataFrame(nside = 1, ordering = "nested", coords = "spherical")
cmbdf2 <- cbind(cmbdf, myData = rep(1, 12))
cmbdf2


# }

Run the code above in your browser using DataLab