The cubm
package is useful to fit cub models by Maximum Likelihood method.
If you want to install the cubm
package you need to copy the next code into your console.
if (!require('devtools')) install.packages('devtools')
devtools::install_github('fhernanb/cubm', force=TRUE)