Performs an arithmetic function, FUN, over a series of traits and returns the result as a derived trait.
Source:R/derive.traits.R
derive.traits.RdEquivalent to derive.trait(), but operates over a series of trait datasets,
as opposed to individual trait rows. See derive.trait; for more information.
Arguments
- FUN
arithmetic function
- ...
trait datasets that will be supplied to FUN as input
- input
list of trait inputs. See examples in
derive.trait- match.columns
in the event more than one trait dataset is supplied, this specifies the columns that identify a unique data point
- var.name
name to use in output
- sample.size
where traits are normally distributed with a given