rcpp_season_filter: season_filter

View source: R/RcppExports.R

rcpp_season_filterR Documentation

season_filter

Description

season_filter

Usage

rcpp_season_filter(d, rm_closed = TRUE, rtrough_max = 0.7, r_min = 0.02)

check_season_dt(dt)

check_season_list(lst_dt)

Arguments

d

Data.frame of growing season dividing info

rtrough_max

ytrough <= rtrough_max*A, A is the amplitude of y.

r_min

Threshold is defined as the difference of peak value with trough value. There are two threshold (left and right). The minimum threshold should be greater than r_min.

dt

data.table of growing season division info

lst_dt

list of dt. Every year is corresponding to a dt.


phenofit documentation built on Nov. 10, 2022, 6:08 p.m.