detectEwLw: Detect the Transition from Earlywood to Latewood

View source: R/detectEwLw.R

detectEwLwR 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)


xRing documentation built on April 22, 2022, 5:05 p.m.

Related to detectEwLw in xRing...