Rotate a RasterLayer that has x coordinates (longitude) from 0 to 360, to standard coordinates between -180 and 180 degrees. Longitude between 0 and 360 is frequently used in data from global climate models.
Usage
rotate(x, ...)
Arguments
x
a RasterLayer object
...
Additional arguments, see Details
Value
a RasterLayer
Details
The following additional arguments can be passed, to replace default values for this function
lll{
filename Character. Output filename
format Character. Output file type. See writeRasterdatatype Character. Output data type. See dataTypeoverwrite Logical. If TRUE, "filename" will be overwritten if it exists
progress Character. "text", "window", or "" (the default, no progress bar)
}