This function reads in a file of ring widths (.rwl) in one of the available formats.
read.rwl(fname,
format = c("auto", "tucson", "compact", "tridas", "heidelberg", "csv"),
…)
a character
vector giving the file name of the
rwl file.
a character
vector giving the format. This must
be "auto"
(rough automatic detection), "tucson"
,
"compact"
, "tridas"
, "heidelberg"
or "csv"
. Automatic
format detection is the default but failable.
arguments specific to the function implementing the operation for the chosen format.
If a "tucson"
, "compact"
, "heidelberg"
, "csv"
file is
read (even through "auto"
), returns 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.
If a "tridas"
file is read (even through "auto"
),
returns a list of results. See read.tridas
for more
information.
This is a simple wrapper to the functions actually implementing the read operation.
read.tucson
, read.compact
,
read.tridas
, read.fh
, csv2rwl
,
write.rwl