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
I recently switched from xtable to pander, and am really impressed with this package. Thanks so much for your work!
In the transition, I've come across two issues which I'm hoping to get your input on:
In xtable, I could supply a numeric vector to digits to apply them to each column, respectively. For example, I could supply digits = c(0,1,2,3) to have the first column have 0 decimal places, the second column 1, et cetera. This was very useful because I have some columns with integers, and others that require rounding. As far as I can tell, though, with pander I could only specify digits = X, and have it apply to the entire table. Am I missing something?
Similarly, in xtable, I could use hline.after when calling print() to specify where I would like horizontal lines. I know pander can produce horizontal lines, but cannot figure out how to add them manually?
Any advice would be appreciated!
The text was updated successfully, but these errors were encountered:
Unfortunately the 2nd one will not work, as the style and markup of the table structure is really strict, and there's not much option to add/remove lines it. Please see more details in the Pandoc's markdown manual.
But the 1st suggestion should work, I'll be happy to start working on it -- although probably not in the next two weeks, as currently I'm moving to a new home.
I recently switched from xtable to pander, and am really impressed with this package. Thanks so much for your work!
In the transition, I've come across two issues which I'm hoping to get your input on:
In xtable, I could supply a numeric vector to digits to apply them to each column, respectively. For example, I could supply digits = c(0,1,2,3) to have the first column have 0 decimal places, the second column 1, et cetera. This was very useful because I have some columns with integers, and others that require rounding. As far as I can tell, though, with pander I could only specify digits = X, and have it apply to the entire table. Am I missing something?
Similarly, in xtable, I could use hline.after when calling print() to specify where I would like horizontal lines. I know pander can produce horizontal lines, but cannot figure out how to add them manually?
Any advice would be appreciated!
The text was updated successfully, but these errors were encountered: