Learn R Programming

FedData (version 4.2.0)

read_crn: Read a Tucson-format chronology file.

Description

This function includes improvements to the read.crn function from the dplR library. The principle changes are better parsing of metadata, and support for the Schweingruber-type Tucson format. Chronologies that are unable to be read are reported to the user. This function automatically recognizes Schweingruber-type files.

Usage

read_crn(file)

Value

A list containing the metadata and chronology.

Arguments

file

A character string path pointing to a *.crn file to be read.

Details

This wraps two other functions: read_crn_metadata read_crn_data.