Duncan,
I had read your excellent tables package vignette at
http://cran.r-project.org/web/packages/tables/vignettes/tables.pdf when
it first came out. It is extremely impressive. I'm glad to be reminded
to give it another look.
Is there a way to make the special symbols n and 1 refer to the number
of non-missing observations rather than the length of a vector?
Do you feel like taking on this challenge? An example of an irregular
table I'm thinking of is the following
Females Males
Q1 Med Q3 (n) Q1 Med Q3 (n)
Age 25 49 63 (1016) 26 50 64 (1767)
Canadians
Weight (kg) 57 63 74 ( 243) 67 73 90 ( 401)
Canadians could mean country=='Canada'.
Thanks!
Frank
--
Frank E Harrell Jr Professor and Chairman School of Medicine
Department of Biostatistics Vanderbilt University
______________________________________________
R-help@r-project.org 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.