PhenoDeriv: A function to extract thresholds

Description Usage Arguments Examples

View source: R/PhenoDeriv.R

Description

See PhenoDeriv from package greenbrown

Usage

1
2
PhenoDeriv(x, formula = NULL, uncert = FALSE, 
	params = NULL, breaks, ...)

Arguments

x

A named vector with the parameters of the equation used to fit the data.

formula

Inherited from previous steps of the process.

uncert

Currently unused

params

Inherited from previous steps of the process.

breaks

Currently unused

...

Further arguments, currently not used

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(bartlett2009.fitted)
derivatives.phenophases <- PhenoDeriv(
	x=bartlett2009.fitted$fit$predicted, fit=bartlett2009.fitted$fit
	)
plot(bartlett2009.fitted$fit$predicted)
abline(v=derivatives.phenophases[c(1:2,4)], col=palette())
mtext(names(derivatives.phenophases[c(1:2,4)]), 
	at=derivatives.phenophases[c(1:2,4)], 
	line=-2, 
	col=palette()[1:3])

Example output



phenopix documentation built on May 2, 2019, 4:50 p.m.