Learn R Programming

dendRoAnalyst (version 0.1.5)

plot_ZG_output: Plotting output of zero-growth approach (i.e., output of phase.zg function).

Description

This function plots the GRO and TWD of dendrometer data for a defined time period.

Usage

plot_ZG_output(ZG_output, DOY, Year)

Value

A plot with GRO and TWD in two different subplots.

Arguments

ZG_output

list the output of phase.zg function.

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.

Examples

Run this code
# \donttest{
library(dendRoAnalyst)
data(gf_nepa17)
zg.phase<-phase.zg(df=gf_nepa17, TreeNum=1)
plot_ZG_output(ZG_output=zg.phase,DOY=c(50,51), Year=2017)
# }

Run the code above in your browser using DataLab