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,
  ...
)

Arguments

.v_curve

If true, it will use V-curve theory to optimize Whittaker parameter, lambda.

d

data.frame, with the columns of t, y and w.

sp

one line data.frame

sitename

character

.movmean

moving mean by wSG

Note

site-year may be not continuous.