Learn R Programming

DCchoice (version 0.0.15)

update.dbchoice: Updating and refitting model for dbchoice

Description

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

Usage

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

Arguments

object
an object of class "dbchoice".
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 "dbchoice" 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

dbchoice

Examples

Run this code
## See Examples in dbchoice.

Run the code above in your browser using DataLab