update.edcc: Update for an "edcc" class object

Description Usage Arguments Details Value Examples

View source: R/ecoDesign.R

Description

'update' will update and (by default) re-fit a model. It does this by extracting the call stored in the object, updating the call and (by default) evaluating that call.

Usage

1
2
  ## S3 method for class 'edcc'
 update(object, ..., evaluate = TRUE)

Arguments

object

an object of "edcc" class

...

additional arguments to the call, or arguments with anged values.

evaluate

If true evaluate the new call else return the call.

Details

S3 method for update.

Value

the fitted object

Examples

1
2
x <- ecoXbar(P0=110,P1=10)
update(x,P0=NULL,P1=NULL,C0=10,C1=110)

edcc documentation built on May 30, 2017, 4:43 a.m.