Hello all,
I want to use the "table" function, but for every id I have a different no.
of rows (obs.).
If I write:
table(x$class, x$infec)
I don't get the right frequencies because I should count every id once, if
id 1 has 20 observations It should count as one.
can I use unique func. here?
Hope it's clear.
thank you,
Sigalit.
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.