update.sbchoice {DCchoice}R Documentation

Updating and refitting model for sbchoice

Description

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

Usage

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

## See Examples in sbchoice.

[Package DCchoice version 0.2.0 Index]