) |
+---+--+--+
(x1 = summarize(cbind(age), llist(treatment), FUN = g,
stat.name=c(n, mean, sd)))
treatment n mean sd
1 Drug 263 49.9 4.94
2 Placebo 237 50.1 4.97
# this works but table is rotated, and it count data has to be
# treated separately.
--
Keith Wong
PhD candidate
Sleep
, and not to summary.formula() itself:
options(digits = 2)
(x = summary(treatment ~ age + sex, method = reverse) )
latex(x, prmsd = T)
That's what I needed, thank you.
Keith
At 12:11 PM 14/05/2007, Frank E Harrell Jr wrote:
Keith Wong wrote:
Dear all,
The incredibly useful Hmisc package provides a method
Hello,
I'm an R-newbie, but I've been learning to use lme for repeated measures
experiments as well.
If I understand correctly:
Outcome variable: Mg (Kg/ha)
Subject/grouping variable: block
Condition/treatment: treatment (19 levels)
Repeated factor: time (3 levels: 99, 02, 04)
I
Dear listmembers,
Is there a recommended method of responding to a thread if I am getting the
mailing list in digest form?
Will the mailing list program automatically match threads if I copy the
subject from the original posting?
Thank you.
Keith
__
to the list.
Keith Wong
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Dear list-members
I am new to R and a statistics beginner. I really like the ease with which I can
extract and manipulate data in R, and would like to use it primarily. I've
been learning by checking analyses that have already been run in SAS.
In an experiment with Y being a response variable,
Thank you for the very prompt response. I only included a small part of the
output to make the message brief. I'm sorry it did not provide enough detail to
answer my question. I have appended the summary() and anova() outputs to the
two models I fitted in R.
Quoting Prof Brian Ripley [EMAIL