check.traits: Check trait

Description Usage Arguments Note

View source: R/MVR.r

Description

Check trait for compatibility with assembly procedure & adjust as necessary

Usage

1
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!


akeyel/multirich documentation built on May 17, 2021, 1:23 a.m.