R/update.dbchoice.R

Defines functions update.dbchoice

Documented in update.dbchoice

update.dbchoice <- function(object, new, evaluate = TRUE, ...)
{
    call <- getCall(object)

    if (!missing(new)) {
        call$formula <- update(object$formula, new)
    }

    if (evaluate == TRUE) {
        eval(call, parent.frame())
    } else {
        call
    }
}

Try the DCchoice package in your browser

Any scripts or data that you put into this service are public.

DCchoice documentation built on May 2, 2019, 4:44 p.m.