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