slitFrame {BIOdry} | R Documentation |
Multilevel splitting
Description
This function splits a Multilevel data frame into factor levels.
Usage
slitFrame(rd, lv = cClass(rd, "factor"))
Arguments
rd |
|
lv |
|
Value
list
of data.frame
objects.
Author(s)
Wilson Lara <wilarhen@gmail.com>, Felipe Bravo <fbravo@pvs.uva.es>
Examples
##Ring data frame:
##Multilevel data frame of tree-ring widths:
data(Prings05, envir = environment())
data(PTclim05, envir = environment())
## split multilevel data into its second factor-level column:
spl <- slitFrame(Prings05)
str(spl)
## split the data into the factor-level: 'year':
spl <- slitFrame(Prings05,'year')
str(spl)
spl <- slitFrame(PTclim05,'year')
str(spl)
[Package BIOdry version 0.9 Index]