Msim {metacosimulator} | R Documentation |
This function launches the metacommunity simulator.
Msim(parameters)
parameters |
parameters of the simulator. |
The returned value is a list containing the following components:
param |
The model parameters used in the |
stats |
The summary statistics obtained at the end of the |
weights |
The weights of the different |
stats_normalization |
The standard deviation of the summary statistics across the |
nsim |
The number of |
nrec |
The number of retained simulations (if targeted summary statistics are provided). |
computime |
The computing time to perform the simulations. |
Franck Jabot
Pritchard, J.K., and M.T. Seielstad and A. Perez-Lezaun and M.W. Feldman (1999) Population growth of human Y chromosomes: a study of Y chromosome microsatellites. Molecular Biology and Evolution, 16, 1791–1798.
##### EXAMPLE 1 ##### ##################### set.seed(1) ## artificial example to show how to use the 'Msim' function. parameters=1:4 stats_output=array(0,4) Msim(parameters,stats_output)$stats_output