update.phenopix: Update 'phenopix' objects.

Description Usage Arguments Details Author(s) Examples

View source: R/update.phenopix.R

Description

Update method for objects of class phenopix

Usage

1
2
## 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

1
2
3
4
data(bartlett2009.filtered)
fitted <- greenProcess(bartlett2009.filtered, 'klosterman', 
  'klosterman', plot=FALSE)
fitted.gu <- update(fitted, 'gu')

Example output



phenopix documentation built on May 2, 2019, 4:50 p.m.