Description Usage Arguments Value Examples
View source: R/CMBDataFrameGenerics.R
If new.coords is unspecified then
this function returns the coordinate system used in the CMBDataFrame
cmbdf.
The coordinate system is either "cartesian" or "spherical".
If a new coordinate system is specified, using e.g.
new.coords = "spherical", then this function instead
returns a new CMBDataFrame whose coordinates are of the specified
type. The original CMBDataFrame, cmbdf, is unaffected.
If you would like to change cmbdf without creating a new
variable, then use coords<-.CMBDataFrame (see
examples below).
1 2 |
x |
A CMBDataFrame, |
new.coords |
Specifies the new coordinate system ("spherical" or "cartesian") if a change of coordinate system is desired. |
... |
Unused arguments. |
If new.coords is unspecified, then the name of the coordinate system
of cmbdf is returned. Otherwise a new CMBDataFrame is returned
equivalent to cmbdf but having the desired change of coordinates
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.