PhenoTrs: A phenophase method based on fixed thresholds

View source: R/PhenoTrs.R

PhenoTrsR Documentation

A phenophase method based on fixed thresholds

Description

See PhenoTrs from package greenbrown for details.

Usage

PhenoTrs(x, approach = c("White", "Trs"), trs = 0.5, min.mean = 0.1, 
  formula = NULL, uncert = FALSE, params = NULL, breaks, ...)

Arguments

x

seasonal cycle of one year

approach

approach to be used to calculate phenology metrics. 'White' (White et al. 1997) or 'Trs' for simple threshold.

trs

threshold to be used for approach "Trs"

min.mean

minimum mean annual value in order to calculate phenology metrics. Use this threshold to suppress the calculation of metrics in grid cells with low average values

formula

Returned from previous steps of the process

uncert

Currently unused

params

Returned from previous steps of the process

breaks

Currently unused

...

further arguments (currently not used)

Examples

## Not run: 
data(bartlett2009.fitted)
trs.phenophases <- PhenoTrs(
  x=bartlett2009.fitted$fit$predicted, 
  fit=bartlett2009.fitted$fit)
plot(bartlett2009.fitted$fit$predicted)
abline(v=trs.phenophases[c(1:2,4)], col=palette())

## End(Not run)

phenopix documentation built on Aug. 9, 2023, 5:10 p.m.