TruncSeriesPithoffset: Truncate series by range pithoffsets

Description Usage Arguments Value Examples

Description

The following function truncate the data by a given range from the estimated pith.

Usage

1
TruncSeriesPithoffset(file.raw, file.stand, pithoffset, range)

Arguments

file.raw

data file containing the raw ring widths, in mm

file.stand

data file containing the standardized ring widths

pithoffset

data set containing the pith offsets for each core, in mm.

range

The distance from the pith use for truncation, given in mm from the core. e.g. range <- c(1,200) truncates values outside this range.

Value

sub.series.raw

A truncated series of raw ring widths (in miromilmeter).

sub.series.stand

A truncated series of standardized ring widths (in miromilmeter).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data(ring.raw)
data(ring.stand)
data(dbh.po.nc)
#Subset near-pith is the material within 0 -20cm from the estimated pith
spline200.sub0.20.n   <- TruncSeriesPithoffset( ring.raw, ring.stand, dbh.po.nc, c(1,200))
# Subset far-pith is the material further than 20cm from the estimated pith
spline200.sub20.2000.n  <- TruncSeriesPithoffset( ring.raw, ring.stand, dbh.po.nc, c(200,200000))
# Whole dataset, through truncated functions to get in the same formate as the above two datasets
spline200.sub0.2000.n  <- TruncSeriesPithoffset( ring.raw, ring.stand, dbh.po.nc, c(00,200000))
## End(Not run)

Example output

There were 39 warnings (use warnings() to see them)
There were 50 or more warnings (use warnings() to see the first 50)
There were 50 or more warnings (use warnings() to see the first 50)

dplRCon documentation built on May 2, 2019, 2:02 p.m.