update.dbchoice {DCchoice}R Documentation

Updating and refitting model for dbchoice

Description

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

Usage

## S3 method for class 'dbchoice'
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

## See Examples in dbchoice.

[Package DCchoice version 0.2.0 Index]