plot_SC_output {dendRoAnalyst} | R Documentation |
Plotting output of stem cycle approach (i.e., output of phase.sc function).
Description
This function plots the stem cycle of dendrometer data.
Usage
plot_SC_output(
SC_output,
DOY,
Year,
cols = c("#fee8c8", "#fdbb84", "#e34a33"),
phNames = c("Shrinkage", "Expansion", "Increment")
)
Arguments
SC_output |
list the output of |
DOY |
array with initial and final day for plotting. E.g. c(a,b), where a = initial date and b = final date. |
Year |
array for indicating year for plotting. |
cols |
array of three elements: colour for each phases. |
phNames |
array with three elements for three different phases. Default is "Shrinkage", "Expansion" and "Increment". |
Value
A plot with different phases.
Examples
library(dendRoAnalyst)
data(gf_nepa17)
sc.phase<-phase.sc(df=gf_nepa17, TreeNum=1, smoothing=12)
plot_SC_output(SC_output=sc.phase,DOY=c(50,60), Year=2017)
[Package dendRoAnalyst version 0.1.5 Index]