detectEwLw: Detect the Transition from Earlywood to Latewood

Description Usage Arguments Value Examples

Description

This function detects the end of earlywood and the start of latewood

Usage

1
detectEwLw(x, ew = 0.5, lw = NULL)

Arguments

x

an "xRingList" object

ew

defines the end of earlywood as the ratio of the density range. The default value is 0.5, which means that the end of earlywood is placed at the point where the density is half the range between the minimum and maximum density values within an annual ring

lw

defines the start of latewood, the default value is NULL. When ew is 0.5 and lw is NULL the boundary between earlywood and latewood is placed where the density is half the range between the minimum and maximum density values within an annual ring

Value

an "xRingList" object with limits.ew and limits.lw added.

Examples

1
2
3
4
5
 data(PaPiRaw)
 data(PaPiSpan)
 PaPi <- detectRings(PaPiRaw, PaPiSpan)
 PaPi.merge <- combineFrag(PaPi, frag = 9)
 PaPiRings <- detectEwLw(PaPi.merge, ew = 0.5)

xRing documentation built on May 2, 2019, 5:51 a.m.

Related to detectEwLw in xRing...