detectEwLw {xRing}R Documentation

Detect the Transition from Earlywood to Latewood

Description

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

Usage

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


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


[Package xRing version 0.1.1 Index]