combine.rwl | R Documentation |
This function combines any number of data.frames
of
tree-ring data into one data.frame
.
combine.rwl(x, y = NULL)
x |
either a |
y |
a |
The sequence of years in each data.frame
must be
increasing and continuous. The output produced by the function
also fulfills this condition. If the input is differently formatted,
the result will be wrong.
An object of class c("rwl", "data.frame")
with the series in
columns and the years as
rows. The keycodes are the column names and the years are the row
names.
Christian Zang. Patched by Mikko Korpela.
library(utils)
data(ca533)
data(co021)
combi1 <- combine.rwl(list(ca533, co021))
## or alternatively for data.frames to combine
combi2 <- combine.rwl(ca533, co021)
identical(combi1, combi2) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.