Learn R Programming

phenopix (version 2.4.5)

greenExplore: Explore all possible fitting and theshold methods from the package phenopix

Description

This function allows to fast compute all fitting and thresholding methods on a given greenness time series.

Usage

greenExplore(x, ...)

Arguments

x

A zoo object with a season of filtered greeneess data

...

additional arguments passed to greenProcess

Author

Gianluca Filippa <gian.filippa@gmail.com>

Details

This function runs all possible fitting and thresholding methods. It must be used in combination with plotExplore. The two functions were designed to give a preliminary indication of what would be the best combination of fitting curve and thresholds for your set of data. The function returns also the root mean squared error (RMSE) of the various fits, that can be used as a discriminant to choose the fit.

See Also

plotExplore

Examples

Run this code
if (FALSE) {
data(bartlett2009.filtered)
explored.data <- greenExplore(bartlett2009.filtered)
explored.data$rmse # chech fit RMSES
plotExplore(explored.data) ## an annotated plot
}

Run the code above in your browser using DataLab