Creates a qdec matrix from a model formula.
Examples
cars <- mtcars
cars$cyl <- as.factor(cars$cyl)
qdec <- qdec(cars, mpg ~ cyl + hp)
Creates a qdec matrix from a model formula.
cars <- mtcars
cars$cyl <- as.factor(cars$cyl)
qdec <- qdec(cars, mpg ~ cyl + hp)