update.phenopix {phenopix}R Documentation

Update phenopix objects.

Description

Update method for objects of class phenopix

Usage

## S3 method for class 'phenopix'
update(object, threshold, envelope, quantiles, uncert, plot, ...)

Arguments

object

An object of class phenopix

threshold

One between 'spline', 'derivatives', 'klosterman', 'gu'

envelope

If left blank is recicled from original fitting. See PhenoExtract

quantiles

If left blank is recicled from original fitting. See PhenoExtract

uncert

If left blank is recicled from original fitting. See PhenoExtract

plot

If left blank is recicled from original fitting. See PhenoExtract

...

Plotting arguments. See PhenoExtract

Details

This function allows to update a phenopix object in output from greenProcess to extract different thresholds withoud refitting the data (which is highly time-consuming when uncertainty is computed). All arguments except threshold may be left blank and will be recycled from the original fit. But the can also be changed. See PhenoExtract where arguments are described in detail.

Author(s)

Gianluca Filippa <gian.filippa@gmail.com>

Examples

## Not run: 
data(bartlett2009.filtered)
fitted <- greenProcess(bartlett2009.filtered, 'klosterman', 
  'klosterman', plot=FALSE)
fitted.gu <- update(fitted, 'gu')

## End(Not run)

[Package phenopix version 2.4.4 Index]