You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am surprised that no issue has been opened on this topic yet. I have been searching the internet for hours in vain for a straightforward solution to align regression coefficients in HTML tables to decimal places. In following image, the decimal points of the coefficients are not aligned.
Maybe I have overlooked it, but i can't find an option to align decimal points. An option align='decimal' or similar would be great, it should actually be the default behavior though.
It would be great if you could have a look at this!
When I wrote htmlreg, decimal point alignment wasn't possible. Now that I upgraded htmlreg to HTML5, there are several ways to achieve this, but I am not sure what the best way is. See here for an overview. It should ideally work well with the different compilation options available in knitr and RStudio with pandoc, be compatible with as many browsers as possible, and it should look somewhat parsimonious in the HTML code. If you have suggestions as to what works best and why, I'll be happy to look at them. Perhaps with a code example where you modify the htmlreg output and show what it looks like in some screenshots in different browsers and in RStudio-compiled documents.
I have looked into various options. Apparently there is still no good solution even in HTML5. This solution looks most promising and is perhaps worth implementing.
Hello,
I am surprised that no issue has been opened on this topic yet. I have been searching the internet for hours in vain for a straightforward solution to align regression coefficients in HTML tables to decimal places. In following image, the decimal points of the coefficients are not aligned.
Maybe I have overlooked it, but i can't find an option to align decimal points. An option
align='decimal'
or similar would be great, it should actually be the default behavior though.It would be great if you could have a look at this!
Cheers
Desired outcome: Aligned coefficients.
MWE:
``` `
The text was updated successfully, but these errors were encountered: