plot3DScene: multi-dimensional visualization of mating scene object

Description Usage Arguments Value Author(s) See Also Examples

Description

Visualize multiple dimensions of a mating scene

Usage

1
2
3
4
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

nothing

Author(s)

Amy Waananen

See Also

see generic function points for values of pch

Examples

1
2
pop <- simulateScene()
plot3DScene(pop)

stuartWagenius/mateable documentation built on May 30, 2019, 8:34 p.m.