terms.DirichletRegModel <- function(x, ...){
return(terms(x$formula))
}
model.matrix.DirichletRegModel <- function(object, ...){
return(object[c("X", "Z")])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.