shiftFrame | R Documentation |
dendroclimatic chronologies (trw, and climatic data) are formatted into multilevel ecological data series. SI units of continuous variables in the data can be transformed.
shiftFrame(rd, f.nm = NULL, x.nm = names(rd)[1L], t.nm = "year", ...)
rd |
|
f.nm |
|
x.nm |
|
t.nm |
|
... |
Further arguments in |
Row names of dendroclimatic data frames are time units (e.g. years). Column names are dot-separated labels representing the hierarchy of ecological or time-units factors, where the higher levels are defined first and the lower levels after. For example, code 'P16106.17' is the column name of core 'a' in tree '17' in plot 'P16106'. Labels containing monthly abbreviations are also formatted.
When rd
argument is a dendroclimatic chronology (see
details) then the output is a groupedData
object,
and viceversa.
Wilson Lara <wilarhen@gmail.com>, Felipe Bravo <fbravo@pvs.uva.es>
##tree-ring widths formated as a groupedData object: data(Prings05,envir = environment()) ## Formatting the groupedData object into a ring-data frame: pwide <- shiftFrame(Prings05, from = 'mm', to = 'mmm') str(pwide) ## Formatting the ring-data frame into a groupedData object, and ## changing SI units from micrometers to milimeters: plong <- shiftFrame(pwide,from = 'mmm', to = 'mm') plot(plong)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.