Re: [R] Nicely formatted summary table with mean, standard deviation or number and proportion

2007-05-13 Thread Keith Wong
Prof Harrell Thanks for the hint! I am using Hmisc 3.3-2, on R version 2.5.0 with windows XP. I saw the argument "prmsd = T" in the help for summary.formula(), and couldn't understand how to make it work, but just now realised that it should be applied to the latex() function, and not to summa

Re: [R] Nicely formatted summary table with mean, standard deviation or number and proportion

2007-05-13 Thread Frank E Harrell Jr
Keith Wong wrote: > Dear all, > > The incredibly useful Hmisc package provides a method to generate > summary tables that can be typeset in latex. The Alzola and Harrell book > "An introduction to S and the Hmisc and Design libraries" provides an > example that generates mean and quartiles fo

[R] Nicely formatted summary table with mean, standard deviation or number and proportion

2007-05-13 Thread Keith Wong
Dear all, The incredibly useful Hmisc package provides a method to generate summary tables that can be typeset in latex. The Alzola and Harrell book "An introduction to S and the Hmisc and Design libraries" provides an example that generates mean and quartiles for continuous variables, and n