PhenoDeriv: Extract phenophases from a fitted equation with method...

View source: R/PhenoDeriv.R

PhenoDerivR Documentation

Extract phenophases from a fitted equation with method Derivatives

Description

Extract phenophases from a fitted equation with method Derivatives

Usage

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

## 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)

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