Hello,
I have a dataframe (var_1, var_2, ..., var_n) and I would like to export
summary statistics to Latex in the form of a table. I want specific summary
statistics by crossing numerous variables 2x2 AT ONCE. In each cell I would
like sometimes to have the median (Q1 - Q3), or frequency and proportion, etc.
CrossTable, xtab, etc... do not allow for multiple 2 by 2 crosstabulation. The
table would look like this:
var_1 var_2 var3, ...
var_1 a b c
var_2 d e f
var_3 .. ... ...
with a, b, c, ... the results of each crosstabulation. I have continuous and
categorical variables.
Any idea?
Thank you very much,
David.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.