Learn R Programming

DCchoice (version 0.0.15)

update.sbchoice: Updating and refitting model for sbchoice

Description

Updating and refitting method for object of class "sbchoice".

Usage

"update"(object, new, evaluate = TRUE, ...)

Arguments

object
an object of class "sbchoice".
new
a new call.
evaluate
If TRUE, refit the updated model, otherwise return the updated call.
...
optional arguments. Currently not in use.

Details

The function update() for S3 object "sbchoice" updates a model used for the fit that is included in object according to a new call assigned to new, and then refits the updated model. The function returns the refitted model object when evaluate = TRUE, otherwise the updated model call.

See Also

sbchoice

Examples

Run this code
## See Examples in sbchoice.

Run the code above in your browser using DataLab