inla.identical.CRS: Test CRS and inla.CRS for equality

Description Usage Arguments Author(s) See Also Examples

View source: R/spmesh.R

Description

Wrapper for identical, optionally testing only the CRS part of two objects

Usage

1
inla.identical.CRS(crs0, crs1, crsonly = FALSE)

Arguments

crs0

A CRS or inla.CRS object.

crs1

A CRS or inla.CRS object.

crsonly

Logical. If TRUE, only the CRS part of a inla.CRS object is compared.

Author(s)

Finn Lindgren <finn.lindgren@gmail.com>

See Also

inla.CRS

Examples

1
2
3
4
5
crs0 <- inla.CRS("longlat")
crs1 <- inla.CRS("longlat", oblique=c(0,90))
print(c(inla.identical.CRS(crs0, crs0),
        inla.identical.CRS(crs0, crs1),
        inla.identical.CRS(crs0, crs1, crsonly=TRUE)))

inbo/INLA documentation built on Dec. 6, 2019, 9:51 a.m.