inla.identical.CRS {INLA} | R Documentation

## Test CRS and inla.CRS for equality

### Description

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

### Usage

    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

    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)))

[Package INLA version 18.07.12 Index]