plotPotential(matPot, subject = NULL, plotType = "auto", density = T, sub.ids = NULL, N = 9, sample = "random", main = NULL, ...)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.The individuals to be represented in the pairwise potential plots can either be specified explicitly through sub.ids, chosen randomly
(sample = 'random'), or all individuals can be selected (sample = 'all'). The default is to randonly select 9 individuals.
If multiple years are being plotted, the subset is sampled from all years and the same individuals will be represented in each year, if possible.
If fewer than three individuals from the subset are available in a year, no network diagram or heatmap will be returned for that year.
points for values of pch
pop <- simulateScene()
sync <- synchrony(pop, "augs")
plotPotential(sync)
Run the code above in your browser using DataLab