Description Usage Arguments Details Author(s) See Also Examples
Visualize mating potential
1 2 |
matPot |
a mating potential object |
subject |
character, either 'ind' or 'pair', indicating whether the subject being visualized is individuals or pairwise interactions |
plotType |
character, indicating what plots are to be displayed. See details. Options are histogram ('hist'), network diagram ('net'), and heatmap ('heat'). If mating potential object |
density |
logical. If TRUE (default), plots probability density over histogram. |
sub.ids |
a vector containing the ids of individuals to be represented in pairwise potential plots |
N |
a positive number indicating the number of individuals to sample if sub.ids = 'random' |
sample |
a character string specifying how to choose a subset of individuals to be represented in pairwise potential plots. Possible values are "random" (default) or "all" (see details). |
main |
the main title (on top of plot) |
... |
optional arguments for the plot function |
Options for plotType
are 'hist' (histogram), 'net' (network diagram), 'heat' (heatmap), and 'auto'. Default value is 'auto':
if the mating potential object contains pairwise potential, 'auto' returns all plot types, otherwise it returns histograms of individual potential.
Amy Waananen
see generic function points
for values of pch
1 2 3 | pop <- simulateScene()
sync <- synchrony(pop, "augs")
plotPotential(sync)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.