PhenoPlot: A plotting function for phenological thresholds

Description Usage Arguments Details Author(s) See Also Examples

View source: R/PhenoPlot.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
## 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)

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