sinusoidal: Sinusoidal projection

Description Usage Arguments Value Author(s) References

View source: R/projections.R

Description

Sinusoidal projection

Usage

1
2
3
4
5
6
7
sinusoidal(
  r,
  proj.centre = cbind(phi = 0, lambda = 0),
  lambdalim = NULL,
  lines = FALSE,
  ...
)

Arguments

r

Latitude-longitude coordinates in a matrix with columns labelled phi (latitude) and lambda (longitude). Alternatively string "boundary", indicating that boundary of projection should be drawn.

proj.centre

Location of centre of projection as matrix with column names phi (elevation) and lambda (longitude). Currently only longitude is used by this function.

lambdalim

Limits of longitude to plot

lines

If this is TRUE create breaks of NAs when lines cross the limits of longitude. This prevents lines crossing the centre of the projection.

...

Arguments not used by this projection.

Value

Two-column matrix with columns labelled x and y of locations of projection of coordinates on plane

Author(s)

David Sterratt

References

http://en.wikipedia.org/wiki/Map_projection, http://mathworld.wolfram.com/SinusoidalProjection.html


retistruct documentation built on April 4, 2020, 5:08 p.m.