Dear listers, I am trying to export my regression table to my latex document. Let's say I have two variables: an ordered factor: group <- gl(3,5,20, labels=c("Ctl","Trt","prp")) and a continuous variable: weight <- runif(20)
I want to regress group over weigth, therefore I run: reg2 <- polr(group ~ weight, Hess = TRUE, method = "logistic", model = TRUE) Finally, I wish to include a table with the results in my latex document. Hence I run: tt <- texreg(reg2) but I get the following error: Error in beta[, 1] : incorrect number of dimensions Any ideas about what am I doing wrong? Thanks in advance, f. -- Francesco Sarracino, Ph.D. https://sites.google.com/site/fsarracino/ [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.