levexp {BIOdry} | R Documentation |
Vector releveling
Description
Expansion or reduction of a numeric vector by matching its level names with the ecological factors of a multilevel ecological data series.
Usage
levexp(x, levels)
Arguments
x |
|
levels |
|
Value
numeric vector with expanded/reduced levels.
Author(s)
Wilson Lara <wilarhen@gmail.com>, Felipe Bravo <fbravo@pvs.uva.es>
Examples
##Multilevel ecological data series of tree-ring widths:
data(Prings05,envir = environment())
## tree radii measured at 2003:
data(Pradii03,envir = environment())
## Releveling the tree radii
refs <- levexp(Pradii03,Prings05)
refs
[Package BIOdry version 0.9 Index]