i make me thoughts about a "advanced tabulation" package similar to commercial software products like Quantum or Wincross. Before i'm beginning to fight with coding - is in the mailing-List anybody doing something similar in the past and have a good starting point and/or suggestions for me ? My purpose ist to define for a dataset headers (i.e. sex,age-groupes..) which should write in the colums of a landscape table and percentage all other variables ( rows) dependence to the header category !? P.S. The first attempts sure more easy than the possibilities in wincross ....... http://www.skim.nl/software/images/WC-banners.gif http://www.skim.nl/software/images/WC-tables.gif many thanks for advance & regards, Christian -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
advanced tabulation
4 messages · Christian Schulz, Frank E Harrell Jr, Chunlou Yung
On Mon, 2 Dec 2002 08:51:09 +0100
Christian Schulz <ozric at web.de> wrote:
i make me thoughts about a "advanced tabulation" package similar to commercial software products like Quantum or Wincross. Before i'm beginning to fight with coding - is in the mailing-List anybody doing something similar in the past and have a good starting point and/or suggestions for me ? My purpose ist to define for a dataset headers (i.e. sex,age-groupes..) which should write in the colums of a landscape table and percentage all other variables ( rows) dependence to the header category !? P.S. The first attempts sure more easy than the possibilities in wincross ....... http://www.skim.nl/software/images/WC-banners.gif http://www.skim.nl/software/images/WC-tables.gif many thanks for advance & regards, Christian
summary(columnvariable ~ rowvar1+rowvar2+...., method='reverse') will do what you want, if you are interested in separate summaries for each row variable. This uses the summary.formula function in the Hmisc library (http://hesweb1.med.virginia.edu/biostat/s/Hmisc.html) for which there are plot, print, and latex methods for formatting the output. For 2-way cross-classified summaries see method='cross'.
Frank E Harrell Jr Prof. of Biostatistics & Statistics Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences U. Virginia School of Medicine http://hesweb1.med.virginia.edu/biostat
Just curious. Why is the 3D plot of Octave so much faster than R's? Like, Octave's mesh vs R's persp or lattice's wireframe. Thanks.
many thanks for all your comments !
summary(columnvariable ~ rowvar1+rowvar2+...., method='reverse') will do
what you want, if you are interested in separate summaries for each row variable. >>This uses the summary.formula function in the Hmisc library (http://hesweb1.med.virginia.edu/biostat/s/Hmisc.html) for which there are plot, print, and latex >>methods for formatting the output. For 2-way cross-classified summaries see method='cross'. ...this is really a good starting point ! An improvement should be the possibility use in a function more than 1 column variable !? I check/AttemptToUnderstand next days the functions from Hmisc and Kickstart more deeply and perhaps the modification's are not so difficult !? P.S. summary (Hmisc) is a generic function !? Is it pure R code ? regards, christian ----- Original Message ----- From: "Frank E Harrell Jr" <fharrell at virginia.edu> To: "Christian Schulz" <ozric at web.de> Cc: <r-help at stat.math.ethz.ch> Sent: Monday, December 02, 2002 1:00 PM Subject: Re: [R] advanced tabulation
On Mon, 2 Dec 2002 08:51:09 +0100 Christian Schulz <ozric at web.de> wrote:
i make me thoughts about a "advanced tabulation" package similar to commercial software products like Quantum or Wincross. Before i'm beginning to fight with coding - is in the mailing-List
anybody
doing something similar in the past and have a good starting point and/or suggestions for me ? My purpose ist to define for a dataset headers (i.e. sex,age-groupes..) which should write in the colums of a landscape table and percentage all other variables ( rows) dependence to the header category !? P.S. The first attempts sure more easy than the possibilities in wincross ....... http://www.skim.nl/software/images/WC-banners.gif http://www.skim.nl/software/images/WC-tables.gif many thanks for advance & regards, Christian
summary(columnvariable ~ rowvar1+rowvar2+...., method='reverse') will do
what you want, if you are interested in separate summaries for each row variable. This uses the summary.formula function in the Hmisc library (http://hesweb1.med.virginia.edu/biostat/s/Hmisc.html) for which there are plot, print, and latex methods for formatting the output. For 2-way cross-classified summaries see method='cross'.
-- Frank E Harrell Jr Prof. of Biostatistics & Statistics Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences U. Virginia School of Medicine http://hesweb1.med.virginia.edu/biostat
______________________________________________ R-help at stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help