Learn R Programming

dplR (version 1.6.8)

read.fh: Read Heidelberg Format Ring Width File

Description

This function reads in a Heidelberg (block or column) format file of ring widths (.fh).

Usage

read.fh(fname)

Arguments

fname

a character vector giving the file name of the fh file.

Value

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. Depending on metadata available in the input file, the following attributes may be present in the data.frame:

ids

A data.frame identifying the series. Always contains columns "tree" and "core", may contain columns "site", "radius", and "stemDisk". All columns are numeric.

po

A data.frame containing pith offsets, formatted for use in rcs.

Details

This reads in a fh-file with ring widths in blocks (decadal format) or in columns (e.g., as with comment flags) as used by TSAP program. Chronologies or half-chronos in fh-format are not supported.

References

Rinn, F. (2003) TSAP-Win User Reference Manual. Rinntech, Heidelberg. http://www.rinntech.com/.

See Also

read.rwl