Learn R Programming

dplR (version 1.4.9)

read.rwl: Read Ring Width File

Description

This function reads in a file of ring widths (.rwl) in one of the available formats.

Usage

read.rwl(fname,
           format=c("auto", "tucson", "compact", "tridas", "heidelberg"),
           ...)

Arguments

fname
a character vector giving the file name of the rwl file.
format
a character vector giving the format. This must be auto (automatic detection), tucson, compact, tridas or heidelberg. Automatic format detection is the d
...
arguments specific to the function implementing the operation for the chosen format.

Value

  • If a tucson or compact file is read (even through auto), returns a 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.

Details

This is a simple wrapper to the functions actually implementing the read operation.

See Also

read.tucson, read.compact, read.tridas, read.fh, write.rwl