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. The user (or read_crn
) must tell the function whether
the file is a Schweingruber-type chronology.
read_crn_data(file, SCHWEINGRUBER)
A data.frame containing the data, or if SCHWEINGRUBER==T
, a list containing four types of data.
A character string path pointing to a *.crn
file to be read.
Is the file in the Schweingruber-type Tucson format?