read.tucson {dplR} | R Documentation |
Read Tucson Format Ring Width File
Description
This function reads in a Tucson (decadal) format file of ring widths (.rwl).
Usage
read.tucson(fname, header = NULL, long = FALSE,
encoding = getOption("encoding"),
edge.zeros = TRUE, verbose = TRUE)
Arguments
fname |
a |
header |
|
long |
|
encoding |
the name of the encoding to be used when reading the
rwl file. Usually the default value will work, but an rwl file
written in a non-default encoding may crash the function. In that
case, identifying the encoding and specifying it here should fix the
problem. Examples of popular encodings available on many systems
are |
edge.zeros |
|
verbose |
|
Details
This reads in a standard rwl file as defined according to the standards of the ITRDB at https://www1.ncdc.noaa.gov/pub/data/paleo/treering/treeinfo.txt. Despite the standards at the ITRDB, this occasionally fails due to formatting problems.
Value
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.
Author(s)
Andy Bunn. Patched and greatly improved by Mikko Korpela.
See Also
read.rwl
, read.compact
,
read.tridas
, read.fh
,
write.tucson