inla.mesh.map: Coordinate mappings for 'inla.mesh' projections.

Description Usage Arguments Value Author(s) See Also

View source: R/mesh.R

Description

Calculates coordinate mappings for inla.mesh projections.

Usage

1
2
3
4
5
6
7
8
9
inla.mesh.map(loc,
              projection = c("default", "longlat",
                             "longsinlat", "mollweide"),
              inverse = TRUE)

## Compute sensible default map axis limits
inla.mesh.map.lim(loc = NULL,
                  projection = c("default", "longlat",
                                 "longsinlat", "mollweide"))

Arguments

loc

Coordinates to be mapped.

projection

The projection type.

inverse

If TRUE, loc are map coordinates and coordinates in the mesh domain are calculated. If FALSE, loc are coordinates in the mesh domain and the forward map projection is calculated.

Value

For inla.mesh.map.lim, a list:

xlim

X axis limits in the map domain

ylim

Y axis limits in the map domain

No attempt is made to find minimal limits for partial spherical domains.

Author(s)

Finn Lindgren finn.lindgren@gmail.com

See Also

inla.mesh.project


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