Displaying 1 result from an estimated 1 matches for "aps_st".
Did you mean:
abs_dst
2007 Jul 19
3
tapply
...a few obs., "aps" and class are constant over id.
like this:
id aps class
1 11 2
1 11 2
1 11 2
1 11 2
1 11 2
2 8 3
2 8 3
2 8 3
3 12 2
3 12 2
.
.
i tried:
tapply(icu1$aps_st, icu1$hidclass, function(z) mean(unique(z)))
but it's counting every row and not every id.
thank you,
Sigalit.
[[alternative HTML version deleted]]