calcflagmad: Define Outliers Based on Value Distribution

Description Usage Arguments

View source: R/functions_L2.R

Description

calcflagmad is a helper function of createflagmad.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
calcflagmad(
  df,
  reso,
  wnd = NULL,
  tol = 10,
  frost,
  frost_thr,
  save_thr = FALSE,
  correction = NULL
)

Arguments

df

input data.frame.

frost

logical, defines whether outliers should be calculated for frost periods or other periods.

frost_thr

numeric, increases the thresholds for outlier and jump detection in periods of probable frost (i.e. temperature < lowtemp). The thresholds are multiplied by the value provided.

save_thr

logical, specifies whether the applied thresholds are saved for later plotting or not.


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.