View source: R/CMBDataFrameGenerics.R
areCompatibleCMBDFs | R Documentation |
Compare attributes to decide if two CMBDataFrames are compatible
areCompatibleCMBDFs(cmbdf1, cmbdf2, compare.pix = FALSE)
cmbdf1 |
a |
cmbdf2 |
a |
compare.pix |
A boolean. If TRUE then cmbdf1 and cmbdf2 must share the same pixel indices to be considered compatible |
If the CMBDataFrames do not have compatible attributes then
a message is printed indicating the attributes that do not match.
To suppress this use the suppressMessages
function
a <- CMBDataFrame(nside = 2, ordering = "ring", coords = "cartesian") b <- CMBDataFrame(nside = 1, ordering = "nested", coords = "spherical") areCompatibleCMBDFs(a,b) suppressMessages(areCompatibleCMBDFs(a,b))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.