The cubm package is useful to fit cub models by Maximum Likelihood method.

You can visit the package website to explore the vignettes (articles) and function reference.

You can install the development version from Github, for this you need to copy the next code into your console.

if (!require('devtools')) install.packages('devtools')  
devtools::install_github('fhernanb/cubm', force=TRUE)