R/Brq.formula.R

Defines functions Brq.formula

Documented in Brq.formula

Brq.formula <-
function(formula, data=list(), ...)
{
mf <- model.frame(formula=formula, data=data)
x <- model.matrix(attr(mf, "terms"), data=mf)
y <- model.response(mf)
est <- Brq.default(x, y, ...)
est$call <- match.call()
est$formula <- formula
est
}

Try the Brq package in your browser

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

Brq documentation built on July 1, 2020, 7:07 p.m.