| inla.CRS {INLA} | R Documentation |
Create a coordinate reference system object
Description
in favour of
fmesher::fm_CRS()
Creates either a CRS object or an inla.CRS object, describing a coordinate
reference system.
Usage
inla.CRS(..., args = NULL)
inla.wkt_predef()
Arguments
... |
Arguments passed on to |
args |
list of named proj4 arguments. |
Value
Either an sp::CRS object or an inla.CRS object,
depending on if the coordinate reference system described by the parameters
can be expressed with a pure sp::CRS object or not.
An S3 inla.CRS object is a list, usually (but not necessarily)
containing at least one element:
crs |
The basic |
inla.wkt_predef returns a WKT2 string defining a projection
inla.wkt_predef returns a WKT2 string defining a projection
Functions
-
inla.wkt_predef():in favour of
fmesher::fm_wkt_predef()
Author(s)
Finn Lindgren finn.lindgren@gmail.com
See Also
sp::CRS(), crs_wkt(),
inla.sp_get_crs() plot.CRS(),
inla.identical.CRS()
Examples
if (require("sf") && require("sp")) {
crs1 <- fmesher::fm_CRS("longlat_globe")
crs2 <- fmesher::fm_CRS("lambert_globe")
crs3 <- fmesher::fm_CRS("mollweide_norm")
crs4 <- fmesher::fm_CRS("hammer_globe")
crs5 <- fmesher::fm_CRS("sphere")
crs6 <- fmesher::fm_CRS("globe")
}
## Not run:
names(inla.wkt_predef())
## End(Not run)
## Not run:
names(inla.wkt_predef())
## End(Not run)