Equivalent to derive.trait(), but operates over a series of trait datasets, as opposed to individual trait rows. See derive.trait; for more information.

derive.traits(FUN, ..., input = list(...),
  match.columns = c("citation_id", "site_id", "specie_id"),
  var.name = NA, sample.size = 10^6)

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

Value

a copy of the first input trait with modified mean, stat, and n