g2dl | R Documentation |
Transform longitudes between a system starting at the Greenwich line (greenwich
=TRUE), going from 0 to 360 degrees,
and one starting at the date line (greenwich
=FALSE) going from -180 to 180 degrees.
g2dl(x, greenwich = TRUE, verbose = FALSE, ...)
x |
the input object |
greenwich |
a boolean; if TRUE longitudes are transformed to a system starting at the Greenwich line (0-360E); if FALSE longitudes are transformed to a system starting at the date line (180W-180E) |
verbose |
a boolean; if TRUE print information about progress |
... |
other arguments |
lon |
longitudes |
lat |
latitudes |
d |
dimensions |
g2dl
is an S3 method and will redirect to a fitting function depending on the input.
The output of g2dl
is of the same class and format as the input. The attribute 'greenwich' (attr(x,'greenwich')
)
holds information about the longitude system of an object.
an object of the same type as the input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.