Learn R Programming

retistruct (version 0.6.3)

projection.RetinalReconstructedOutline: Plot projection of reconstructed dataset

Description

Plot projection of reconstructed dataset

Usage

# S3 method for RetinalReconstructedOutline
projection(
  r,
  transform = identity.transform,
  projection = azimuthal.equalarea,
  axisdir = cbind(phi = 90, lambda = 0),
  proj.centre = cbind(phi = 0, lambda = 0),
  lambdalim = c(-180, 180),
  datapoints = TRUE,
  datapoint.means = TRUE,
  datapoint.contours = FALSE,
  grouped = FALSE,
  grouped.contours = FALSE,
  landmarks = TRUE,
  mesh = FALSE,
  grid = TRUE,
  image = TRUE,
  ids = r$getIDs(),
  ...
)

Arguments

transform

Transform function to apply to spherical coordinates before rotation

projection

Projection in which to display object, e.g. azimuthal.equalarea or sinusoidal

axisdir

Direction of axis (North pole) of sphere in external space

proj.centre

Location of centre of projection as matrix with column names phi (elevation) and lambda (longitude).

lambdalim

Limits of longitude (in degrees) to display

datapoints

If TRUE, display data points

datapoint.means

If TRUE, display Karcher mean of data points.

datapoint.contours

If TRUE, display contours around the data points generated using Kernel Density Estimation.

grouped

If TRUE, display grouped data.

grouped.contours

If TRUE, display contours around the grouped data generated using Kernel Regression.

landmarks

If TRUE, display landmarks.

mesh

If TRUE, display the triangular mesh used in reconstruction

grid

If TRUE, show grid lines

image

If TRUE, show the reconstructed image

ids

IDs of groups of data within a dataset, returned using getIDs.

...

Graphical parameters to pass to plotting functions