https://github.com/cran/FedData
Raw File
Tip revision: e37c1f9a929436d15ba90a6af2bb8096e33eb13d authored by R. Kyle Bocinsky on 23 September 2015, 02:45:49 UTC
version 2.0.1
Tip revision: e37c1f9
read_crn_data.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/ITRDB_FUNCTIONS.R
\name{read_crn_data}
\alias{read_crn_data}
\title{Read chronology data from a Tucson-format chronology file.}
\usage{
read_crn_data(file, SCHWEINGRUBER)
}
\arguments{
\item{file}{A character string path pointing to a \code{*.crn} file to be read.}

\item{SCHWEINGRUBER}{Is the file in the Schweingruber-type Tucson format?}
}
\value{
A data.frame containing the data, or if \code{SCHWEINGRUBER==T}, a list containing four types of data.
}
\description{
This function includes improvements to the \code{\link{read_crn}} function from the
\pkg{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 \code{\link{read_crn}}) must tell the function whether
the file is a Schweingruber-type chronology.
}

back to top