Rdocumentation
powered by
Learn R Programming
perspectev (version 1.1)
perspectev.calc: Calculate upper and lower level trait values and survivorship
Description
Calculates upper and lower level trait values and survivorship given a data set and trait functions
Usage
perspectev.calc(data,traitfun,vlist=list(),na.rm=FALSE)
Arguments
data
Dataframe in perspectev format (see below).
traitfun
Function for calculating trait value at each level.
vlist
Optional variable list for trait function.
na.rm
Remove NA values from trait functions? Shouldn't need to be used if trim=TRUE from perspectev.read.
Value
upper
Table of survivorship and trait value at upper level (scaled to mean 0 and variance 1)
lower
Table of survivorship and trait value at lower level (scaled to mean 0 and variance 1)
stats
[1]: correlation between upper level trait and survivorship, [2-4]: quantiles of upper level trait values (unscaled)