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
11
12
13
## Not run: 
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])

## End(Not run)

gianlucafilippa/phenopix documentation built on Nov. 4, 2019, 1:06 p.m.