inla.CRS {INLA}R Documentation

Create a coordinate reference system object

Description

[Deprecated] in favour of inlabru::fm_CRS() Creates either a CRS object or an inla.CRS object, describing a coordinate reference system. Deprecated in favour of inlabru::fm_CRS().

Usage

inla.CRS(..., args = NULL)

inla.wkt_predef()

Arguments

...

Arguments passed on to inlabru::fm_CRS(...).

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 sp::CRS object

inla.wkt_predef returns a WKT2 string defining a projection

inla.wkt_predef returns a WKT2 string defining a projection

Functions

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 <- inlabru::fm_CRS("longlat_globe")
  crs2 <- inlabru::fm_CRS("lambert_globe")
  crs3 <- inlabru::fm_CRS("mollweide_norm")
  crs4 <- inlabru::fm_CRS("hammer_globe")
  crs5 <- inlabru::fm_CRS("sphere")
  crs6 <- inlabru::fm_CRS("globe")
}
## Not run: 
names(inla.wkt_predef())

## End(Not run)

## Not run: 
names(inla.wkt_predef())

## End(Not run)

[Package INLA version 23.06.29 Index]