Usage
plot3DPotential(matPots, subject = NULL, density = TRUE, sub.ids = NULL, N = 3, sample = NA, main = NULL, text.cex = 0.7, pt.cex = 0.7)
Arguments
matPots
list, contains one or multiple mating potential objects representing unique potential dimensions
subject
character, indicates whether the subject to be visualized is individuals (subject = 'ind') or all pairwise interactions (subject = 'pair')
density
logical, if TRUE (default), plots probability density over histogram
sub.ids
vector, contains the IDs of individuals to be represented in pairwise potential plots
N
integer, indicates the number of individuals to sample if sub.ids = 'random' (default N = 3)
sample
character, specifies how to sample individuals to be represented in pairwise potential plots. Possible values are "random" (default) or "all". See details.
main
character, the main plot title, if NULL, defaults to 'individual potential' or 'pairwise potential,' corresponding to subject
text.cex
specify text expansion factor (text size relative to device default)
pt.cex
specify point expansion factor (point size relative to device default)