read.compact | R Documentation |
This function reads in a DPL compact format file of ring widths.
read.compact(fname)
fname |
a |
This function should be able to read files written by the Dendrochronology Program Library (DPL) in its compact format.
An object of class c("rwl", "data.frame")
with the series in
columns and the years as rows. The series IDs are the
column names and the years are the row names.
Mikko Korpela
read.rwl
, read.tucson
,
read.tridas
, read.fh
,
write.compact
## Not run:
data(co021)
fname <- write.compact(rwl.df = co021,
fname = tempfile(fileext=".rwl"),
append = FALSE, prec = 0.001)
foo <- read.compact(fname)
str(foo)
str(co021)
all.equal(foo,co021)
unlink(fname)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.