Skip to content
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

knitreg caption troubles #159

Open
lakshmiraut opened this issue Aug 25, 2020 · 1 comment
Open

knitreg caption troubles #159

lakshmiraut opened this issue Aug 25, 2020 · 1 comment

Comments

@lakshmiraut
Copy link

  1. I am not able to have the caption of the table in R Markdown rendering to word docment when I use knitreg. It just simply ignores the caption. The caption works when I use htmlreg, but the table in the word document has all columns showing in one column.

  2. knitreg does automatically choose htmlreg when rendering html type, one has to manually change from knitreg to htmlreg.

  3. The fontsize etc. does not work in R markdown? Or am I making some mistakes.

Here is what I have, say I have reg models c1, c2, c3 and I give the command
table1 <- knitreg(list(c1, c2, c3),fontsize = "tiny", digits = 4,custom.model.names=modelnames,custom.coef.names = coef_names, caption = "Table 1: Effects of childhood factors.",float.pos = "hb!" )

Any help?

@leifeld
Copy link
Owner

leifeld commented Feb 19, 2021

Would you be able to provide a full example, where c1 etc. work? I'd like to look into this problem. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants