[R] Looking for a package to replace xtable
Duncan Murdoch
murdoch.duncan at gmail.com
Thu Apr 20 21:06:56 CEST 2017
On 20/04/2017 1:09 PM, BR_email wrote:
> R-helper:
> Below, code for generating a decile table.
> I am using the xtable package, but it is not quite right for the output.
> Issue #1. xtable inserts an unwanted column, before the first derived
> column DECILE
> Issue #2. In the last line "Total" I manually sum all columns, even
> though I only want the sums for second and third columns.
> If I calculate only second and third columns, the remaining columns
> would have NAs.
> Either scenario is not desired.
>
I haven't gone through your code yet, but the tables package is
generally more flexible (though maybe harder to use) than xtable.
I can't look at it now, but will try to remember to do so in a few hours
if I don't see a better solution posted first.
Duncan Murdoch
More information about the R-help
mailing list