I'm exploring the expss package in order to change SPSS completely for R. My standard tabels show counts and percentages in the rows, sometimes also complemented with additional statistics.
Is there a way to change the number format by statistic or row? More concrete I would like to show the counts with 0 digits, percentages with 2 digits and ideally in % format and the means with 2 digits.
I searched in htmlTables and htmlTable.etable {expss} but am not able to find a way to do this.
Tx for all help
Hi Gregory,
Tx for your interest. See below small example.
Tx, micha
Tables are usual data.frames so we can easily apply standard R formatting functions. Example: