Learn R Programming

edcc (version 1.0-0)

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

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

"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.

Value

the fitted object

Details

S3 method for update.

Examples

Run this code
x <- ecoXbar(P0=110,P1=10)
update(x,P0=NULL,P1=NULL,C0=10,C1=110)

Run the code above in your browser using DataLab