plot_input: Plot INPUT returned by check_input

View source: R/plot_input.R

plot_inputR Documentation

Plot INPUT returned by check_input

Description

Plot INPUT returned by check_input

Usage

plot_input(INPUT, wmin = 0.2, show.y0 = TRUE, ylab = "VI", ...)

Arguments

INPUT

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

wmin

double, minimum weigth (i.e. weight of snow, ice and cloud).

show.y0

boolean. Whether to show original time-series y0 or processed time-series y by check_input()?

ylab

y axis title

...

other parameter will be ignored.

Examples

library(phenofit)
data("CA_NS6"); d = CA_NS6
# global parameter
IsPlot = TRUE
nptperyear = 23
ypeak_min  = 0.05

INPUT    <- check_input(d$t, d$y, d$w, d$QC_flag, nptperyear,
                        maxgap = nptperyear/4, alpha = 0.02, wmin = 0.2)
plot_input(INPUT)

phenofit documentation built on Feb. 16, 2023, 6:21 p.m.