-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for threeparttable #146
Comments
Thanks for the suggestion! I wasn't aware of the Basic example (note that the library("texreg")
data("iris")
model1 <- lm(Sepal.Width ~ Petal.Width, data = iris)
texreg(list(model1, model1), threeparttable = TRUE) Result:
With a custom note over two lines (can also be done in a single line): texreg(list(model1, model1), threeparttable = TRUE,
custom.note = "\n\\item %stars.\\\\\n\\item Second line.\n")
With texreg(list(model1, model1), threeparttable = TRUE,
longtable = TRUE, caption.above = TRUE, dcolumn = TRUE)
|
Thanks for implementing this! I am a bit late with responding but I just now got to testing it out. I noticed two small problems:
|
Just encountered the same issue as @avsaase:
I'm always using |
I'll reopen this for now. If anyone wants to work on this and start a pull request, please feel free to do so. |
@avsaase @geoffreycastillo and others: @mrpg opened a PR at #208, but the unit test is missing before this can be accepted. Any volunteers willing to help out? |
Is it possible to add support for threeparttable, with options to set the tablenotes? I think this provides a nicer solution than adding the notes in a
\multicolumn
.The text was updated successfully, but these errors were encountered: