Displaying 1 result from an estimated 1 matches for "rhsp".
Did you mean:
resp
2008 Apr 30
2
Summary statistics across factor levels
...r(cut(Indometh$time, breaks=c(0,2,4,6,8,10)))
Indometh
with(Indometh, summary(conc ~ Subject + timeclass, method="cross"))
#similar with aggregate and reshape but no N or Missing count
i.mean <- aggregate(Indometh$conc, list(Indometh$Subject,
Indometh$timeclass), mean, na.rm=T)
i.mean.rhsp <- reshape(i.mean, v.names="x", idvar="Group.1",
timevar="Group.2", direction="wide")
i.mean.rhsp # N and missing columns needed
Thanks,
Lauri