Plotting phenopix objects.
Plotting method for objects of class phenopix
## S3 method for class 'phenopix' plot(x, y, what, main, ...)
x |
An object of class |
y |
It must be |
what |
A character vector of length 1. Available options are: |
main |
A main title for the plot. If not specified the title will be build with fit name and threshold name. |
... |
For the plotting function, a number of parameters from generic |
A dedicated plotting function for objects of class phenopix
. The default shows observed
values as a grey line, the fitted function in black and extracted thresholds in palette()
colors. If available, uncertainty is also shown with a family of lightgrey curves and as error
bars on the extracted thresholds.
Gianluca Filippa <gian.filippa@gmail.com>
## Not run: data(bartlett2009.filtered) fitted <- greenProcess(bartlett2009.filtered, 'klosterman', 'gu', plot=FALSE, uncert=TRUE, nrep=5, ncores=2) plot(fitted) ## default ## slightly more elaborated, with suppression of default title plot(fitted, type='p', pch=20, ylab='GCC', xlab='DOY', col='grey', what='all', main='Fit + thresholds') ## only with the fitting curve plot(fitted, type='p', pch=20, ylab='GCC', xlab='DOY', col='grey', what='fitting', main='Fit only') ## show a boxplot of thresholds extracted from the uncertainty estimation plot(fitted, what='thresholds') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.