Description Usage Arguments Value Author(s) Examples
This function can calculate the ring-width series according to detected ring borders.
| 1 | calcRingWidth(ring.data, seriesID)
 | 
| ring.data | A matrix or array produced by  | 
| seriesID | A character string specifying the column name of the ring-width series. | 
A data frame. The series ID is the column name and years are row names.
Jingning Shi
| 1 2 3 4 5 6 7 8 9 10 11 12 | img.path <- system.file("001.png", package = "MtreeRing")
## Read and plot the image:
t1 <- imgInput(img = img.path, dpi = 1200)
## Split a long core sample into 3 pieces to
## get better display performance and use the
## watershed algorithm to detect ring borders:
t2 <- autoDetect(ring.data = t1, seg = 3, method = 'watershed')
## Calculate ring widths from the attribute list of t2:
rw.df <- calcRingWidth(ring.data = t2, seriesID = "940220")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.