cor_index: Corrected indices

Description Usage Arguments Examples

View source: R/cor_index.R

Description

Use tree-level host ring-width indices and a single master nonhost chronology to create corrected indices for each host tree.

Usage

1
2
cor_index(host, nonhost, format = "wide", scale = TRUE,
  years_as_rownames = FALSE)

Arguments

host

df: ring-width indices

nonhost

df: master chronology

format

c('wide', 'long'): input data format

scale

logical: flag to normalize

years_as_rownames

logical: flag for dplR format

Examples

1
2
3
4
5
6
7
8
## Not run: 
cor_index(ob_host, ob_nonhost)
cor_index(ob_host %>%
            tidyr::gather('id', 'rwi', -Year),
          ob_nonhost,
          format = 'long')

## End(Not run)

toddellis/outbreakR documentation built on March 9, 2020, 12:21 a.m.