Learn R Programming

phenofit (version 0.2.7)

check_season: check_season

Description

check_season

Usage

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

check_season_dt(dt, rtrough_max, r_min, len_min = 45, len_max = 650)

cheak_season_list(lst_dt, rtrough_max, r_min, len_min = 45, len_max = 650)

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 dividing info

len_min

the minimum and maximum length (in the unit of days) of growing season

len_max

the minimum and maximum length (in the unit of days) of growing season

lst_dt

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