View source: R/update.sbchoice.R
update.sbchoice | R Documentation |
Updating and refitting method for object of class "sbchoice".
## S3 method for class 'sbchoice'
update(object, new, evaluate = TRUE, ...)
object |
an object of class "sbchoice". |
new |
a new call. |
evaluate |
If |
... |
optional arguments. Currently not in use. |
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.
sbchoice
## See Examples in sbchoice.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.