R/model.matrix.repolr.R

Defines functions model.matrix.repolr

Documented in model.matrix.repolr

model.matrix.repolr <-
function(object, ...){
 exdata <- ord.expand(space = object$poly.mod$space, formula = object$orig.formula, 
                times = object$times, poly = object$poly.mod$poly, data = eval(object$data), 
                subjects = object$subjects, categories = object$categories)
 mm <- model.matrix.default(exdata$formula, data = exdata$data)
 mm
}

Try the repolr package in your browser

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

repolr documentation built on May 1, 2019, 9:20 p.m.