R/model.matrix.intReg.R

Defines functions model.matrix.intReg

Documented in model.matrix.intReg

model.matrix.intReg <- function (object, ...) {
    if (n_match <- match("x", names(object), 0)) 
        object[[n_match]]
    else {
        data <- model.frame(object, xlev = object$xlevels, ...)
        NextMethod("model.matrix", data = data, contrasts = object$contrasts)
    }
}

Try the intReg package in your browser

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

intReg documentation built on May 29, 2017, 7:07 p.m.