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 |
threshold |
One between 'spline', 'derivatives', 'klosterman', 'gu' |
envelope |
If left blank is recicled from original fitting. See |
quantiles |
If left blank is recicled from original fitting. See |
uncert |
If left blank is recicled from original fitting. See |
plot |
If left blank is recicled from original fitting. See |
... |
Plotting arguments. See |
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)