PhenoPlot: A plotting function for phenological thresholds

View source: R/PhenoPlot.R

PhenoPlotR Documentation

A plotting function for phenological thresholds

Description

This function uses data from a fitted phenological model, the extracted metrics and plots them in an annotated graph.

Usage

PhenoPlot(data, metrics, add = FALSE, show.uncert = TRUE, ...)

Arguments

data

Fitted data from a fitting function such as GuFit, SplineFit, KlostermanFit, ElmoreFit, BeckFit

metrics

A named vector or a dataframe, depending on the presence or absence of uncertainty estimation

add

If TRUE the plot is superimposed to an existing one

show.uncert

Should uncertainty be shown as error bars around the extracted thresholds? It requires that data in imput incorporate the uncertainty estimation.

...

Several argument as in plot can be specified here, see example.

Details

This function allows to plot fitting and thresholding on a season of gcc data. Uncertainty can be also shown

Author(s)

Gianluca Filippa <gian.filippa@gmail.com>

See Also

PhenoExtract

Examples

## Not run: 
data(bartlett2009.fitted)
klosterman.phenophases <- PhenoExtract(bartlett2009.fitted, 
	method='klosterman', uncert=TRUE, plot=FALSE)
PhenoPlot(bartlett2009.fitted, klosterman.phenophases$unc.df)

## End(Not run)

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