Plot growing season divding result.

plot_season(
  INPUT,
  brks,
  plotdat,
  IsPlot.OnlyBad = FALSE,
  show.legend = TRUE,
  ylab = "VI",
  title = NULL,
  show.shade = TRUE,
  margin = 0.35
)

Arguments

INPUT

A list object with the elements of t, y, w, Tn (optional) and ylu, returned by check_input().

brks

A list object returned by season or season_mov.

plotdat

(optional) A list or data.table, with t, y and w. Only if IsPlot=TRUE, plot_input() will be used to plot. Known that y and w in INPUT have been changed, we suggest using the original data.table.

IsPlot.OnlyBad

If true, only plot partial figures whose NSE < 0.3.

show.legend

Whether to show legend?

ylab

y axis title

title

The main title (on top)

show.shade

Boolean, period inside growing cycle colored as shade?

margin

ylim = c(ymin, ymax + margin * A); A = ymax - ymin.