cbind.CMBDataFrame: 'cbind' for CMBDataFrames

View source: R/CMBDataFrameGenerics.R

cbind.CMBDataFrameR Documentation

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 class '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

cmbdf <- CMBDataFrame(nside = 1, ordering = "nested", coords = "spherical")
cmbdf2 <- cbind(cmbdf, myData = rep(1, 12))
cmbdf2



frycast/rcosmo documentation built on Oct. 11, 2022, 5:21 p.m.