[R] table()
Zdenek Skala
Zdenek.Skala at incoma.cz
Tue Sep 14 11:59:50 CEST 1999
Sorry for a stupid question but in table() I am surprised by the
behavior of R 0.65.0 (Windows):
table(abc$a, abc$b)
# result OK, but:
zzz<-data.frame(abc$a)
table(zzz, abc$b)
Error: all arguments must have the same length
Surely I am missing something obvious. Thanks for hints!
Zdenek
++++++++++++++++++++++
] Zdenek Skala
] e-mail:
] Zdenek.Skala at incoma.cz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list