divide_seasons
divide_seasons( d_obs, nptperyear = 23, iters = 2, south = FALSE, lambda = 100, rFUN = "smooth_wWHIT", wFUN = wTSM, calendarYear = FALSE, maxExtendMonth = 12, .v_curve = FALSE, is.plot = FALSE, ... )
.v_curve | If true, it will use V-curve theory to optimize Whittaker parameter, lambda. |
---|---|
d | data.frame, with the columns of |
sp | one line data.frame |
sitename | character |
.movmean | moving mean by |
site-year may be not continuous.