check.traits {multirich} | R Documentation |
Check trait
Description
Check trait for compatibility with assembly procedure & adjust as necessary
Usage
check.traits(in.mat, tr1.lim, tr2.lim, sim.type, filter.vals = "none")
Arguments
in.mat |
A 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. |
tr1 |
Trait values for trait 1 |
tr2 |
Trait values for trait 2 |
Note
This function is very inefficient & could be optimized!
[Package multirich version 2.1.3 Index]