get_RW | R Documentation |
Called on an object returned by dprings
, it will return ring
widths for all detected rings. The units are determined by the
xUnit from the footer of density profile.
get_RW(rings)
rings |
A data frame with the identified rings, a result of the dprings() call on an individual profile |
A vector of ring widths, which are peak-to-peak differences.
dprings
## load a single file dp <- dpload(system.file("extdata", "00010001.dpa", package = "densitr")) ## trim and detrend the measurement dp.trimmed <- dptrim(dp) dp.detrended <- dpdetrend(dp.trimmed, type = "gam") ## identify rings rings <- dprings(dp.detrended) ## get tree ring widths: get_RW(rings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.