TernPlot {STEPCAM} | R Documentation |
Create a ternary plot from results of the STEPCAM_ABC function
Description
This function plots the obtained combinations of dispersal assembly, habitat filtering and limiting similarity of best fitting models in a Ternary plot, similar to Figure 3 in van der Plas et al. 2015
Usage
TernPlot(output)
Arguments
output |
A list with the following elements: |
Author(s)
Fons van der Plas. Adapted from the ternaryplot function from the 'vcd' package
References
Fons van der Plas, Thijs Janzen, Alejandro Ordonez, Wimke Fokkema, Josephine Reinders, Rampal S. Etienne, and Han Olff 2015. A new modeling approach estimates the relative importance of different community assembly processes. Ecology 96:1502-1515.
Examples
## Not run:
Artificial.Data <- generate.Artificial.Data(n_species = 40, n_traits = 3,
n_communities = 5, occurence_distribution = 0.2,
average_richness = 0.5, sd_richness = 0.2,
mechanism_random=FALSE)
O <- STEPCAM_ABC(Artificial.Data$abundances, Artificial.Data$traits,
numParticles = 10, n_traits = 3, plot_number = 1, stopRate = 0.8);
TernPlot(O);
## End(Not run)