# \donttest{
# estimate a multinomial logit model using example data
library(UPG)
data(program)
y = program[,1]
X = program[,-1]
results.mnl = UPG(y = y, X = X, model = "mnl")
# basic summary of regression results
summary(results.mnl)
# generate a LaTeX table with subset of variables and custom names
summary(results.mnl,
include=c(1,3),
groups=c("Alpha","Beta"),
names=c("V. kept 1", "V. kept 3"),
table="latex")
# }
Run the code above in your browser using DataLab