slitFrame | R Documentation |
This function splits a Multilevel data frame into factor levels.
slitFrame(rd, lv = cClass(rd,
"factor"))
rd |
|
lv |
|
list
of data.frame
objects.
Wilson Lara <wilarhen@gmail.com> [aut, cre] (<https://orcid.org/0000-0003-3527-1380>), Felipe Bravo <fbravo@pvs.uva.es> [aut] (<https://orcid.org/0000-0001-7348-6695>)
##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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.