View source: R/CMBDataFrameGenerics.R
ordering.CMBDataFrame | R Documentation |
This function returns the HEALPix ordering scheme from a CMBDataFrame. The ordering scheme is either "ring" or "nested".
## S3 method for class 'CMBDataFrame' ordering(x, new.ordering, ...)
x |
A |
new.ordering |
Specifies the new ordering ("ring" or "nest") if a change of ordering scheme is desired. |
... |
Unused arguments. |
If a new ordering is specified, using e.g. new.ordering = "ring", the ordering scheme of the CMBDataFrame will be converted.
The name of the HEALPix ordering scheme that is used in the CMBDataFrame x.
df <- CMBDataFrame(nside = 1, ordering = "nested") ordering(df) df1 <- ordering(df, new.ordering = "ring") ordering(df1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.