utc.sim {multirich} | R Documentation |
Sensitivity Simulator
Description
Function to help run simulations for sensitivity analysis. Note that for simplicity, the number of traits is restricted to two, each with the same range of values, as can be done for real traits by standardizing by range.
Usage
utc.sim(
n.reps,
n.recs,
tr1.lim,
tr2.lim,
sim.type = "random",
filter.vals = "none"
)
Arguments
n.reps |
The number of replicates for the simulation |
n.recs |
The number of records in the record x trait matrix |
tr1.lim |
The minimum and maximum allowable values for trait 1 |
tr2.lim |
The minimum and maximum allowable values for trait 2 |
sim.type |
"random" runs random assembly (or if any sim.type other than limiting or filter is specified), "limiting" runs limiting similarity, and "filter" applies an environmental filter. |
filter.vals |
Vector of filter values in text form with a semi-colon delimiter (sorry!) e.g., c("1,1", "1;2") would only allow values of 1,1 and 2,2 in the data. |
[Package multirich version 2.1.3 Index]