sucMatrix {EcoVirtual} | R Documentation |
Successional Stages Matrix
Description
Simulates a successional model based on a transitional matrix of stages and its initial proportion of occurence in the landscape.
Usage
sucMatrix(mat.trans, init.prop, rw, cl, tmax)
Arguments
mat.trans |
a matrix of stage transition probabilites. |
init.prop |
a vector with the initial proportions of each stage. |
rw |
number of rows to build the simulated landscape. |
cl |
number of columns to build the simulated landscape. |
tmax |
maximum simulation time. |
Details
The number of patches in the simulated landscape is defined by rw*cl.
Value
'sucMatrix' return a simulation graphic with the proportions of stages in the landscape in time, and a stage distribution graphic with the results of the simulation with the number o patches in time for each stage.
'sucMatrix' also return an invisible array with the simulation results.
Author(s)
Alexandre Adalardo de Oliveira ecovirtualpackage@gmail.com
References
Gotelli, N.J. 2008. A primer of Ecology. 4th ed. Sinauer Associates, 291pp.
Examples
## Not run:
sucMatrix(mat.trans=matrix(data=c(0.5,0.5,0.5,0.5), nrow=2),
init.prop=c(0.5,0.5),rw=20,cl=20, tmax=100)
## End(Not run)