plot3DScene: multi-dimensional visualization of mating scene object

View source: R/plot3DScene.R

plot3DSceneR Documentation

multi-dimensional visualization of mating scene object

Description

Visualize multiple dimensions of a mating scene

Usage

plot3DScene(
  scene,
  dimension = "auto",
  sub = NULL,
  N = 3,
  ycoord = "northing",
  xcoord = "easting",
  pch = 19,
  pt.cex = 0.7,
  label.cex = 0.7,
  mt1 = "F",
  mt2 = "M",
  plot.lim.zoom = FALSE,
  ...
)

Arguments

scene

a matingScene object

dimension

what dimension(s) of the mating scene should be visualized. Possible dimensions are 't' for temporal, 's' for spatial, 'mt' for mating type, and 'auto' (the default). For dimension = 'auto', all dimensions represented in the mating scene object will be plotted.

sub

a subset of the population to plot; either a character indicating whether to subset a random sample (sub='random'), all individuals (sub='all'), or a vector containing the IDs of the individuals to subset.

N

if sub = 'random', the number of individuals to sample (default N = 3)

ycoord

y-axis coordinate system label

xcoord

x-axis coordinate system label

pch

point type, defaults to pch = 19, solid filled in circle. If pch = NULL, individuals will be labeled by their id.

pt.cex

specify point expansion factor (point size relative to device default)

label.cex

specify text expansion factor (text size relative to device default)

mt1

label for mating type '1', if dioecious; defaults to 'F'

mt2

label for mating type '2', if dioecious; defaults to 'M'

plot.lim.zoom

if TRUE, spatial plot limits for lists of scenes are set by the maximum from all scenes

...

optional arguments for the plot function

Value

No return value, called to draw a plot

Author(s)

Amy Waananen

See Also

see generic function points for values of pch

Examples

pop <- simulateScene()
plot3DScene(pop)




stuartWagenius/mateable documentation built on Feb. 9, 2023, 2:33 p.m.