Plot INPUT returned by check_input
plot_input(INPUT, wmin = 0.2, show.y0 = TRUE, ylab = "VI", ...)
INPUT | A list object with the elements of |
---|---|
wmin | Double, minimum weigth (i.e. weight of snow, ice and cloud). |
show.y0 | boolean. Whether to show original time-series |
ylab | y axis title |
... | other parameter will be ignored. |
#> Error in library(phenofit): there is no package called ‘phenofit’#> Warning: data set ‘MOD13A1’ not found#> Error in tidy_MOD13(MOD13A1$dt): object 'MOD13A1' not foundst <- MOD13A1$st#> Error in eval(expr, envir, enclos): object 'MOD13A1' not foundsitename <- dt$site[1]#> Error in dt$site: object of type 'closure' is not subsettabled <- dt[site == sitename, ] # get the first site data#> Error in eval(expr, envir, enclos): object 'site' not foundsp <- st[site == sitename, ] # station point#> Error in eval(expr, envir, enclos): object 'st' not found# global parameter IsPlot = TRUE nptperyear = 23 ypeak_min = 0.05 dnew <- add_HeadTail(d, nptperyear = nptperyear) # add one year in head and tail#> Error in is.data.frame(x): object 'd' not foundINPUT <- check_input(dnew$t, dnew$y, dnew$w, d$QC_flag, nptperyear, maxgap = nptperyear/4, alpha = 0.02, wmin = 0.2)#> Error in check_input(dnew$t, dnew$y, dnew$w, d$QC_flag, nptperyear, maxgap = nptperyear/4, alpha = 0.02, wmin = 0.2): object 'dnew' not foundplot_input(INPUT)#> Error in plot_input(INPUT): object 'INPUT' not found