Hi people,
It would be good to have a fn rowModes (most common number) like
rowMeans.
I have tried gsummary on a data frame but get:
> t<-read.table("tt.txt")
> t
V1 V2 V3 V4 V5
1 1 2 3 4 5
2 2 3 4 5 6
3 3 4 5 6 7> gsummary(t, Mode)
Error in getGroups.data.frame(object, form, level) : Invalid formula
for groups
Help greatly appreciated . .
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:0411-185-652
Fax: +61:2:8923-5363
E-mail: pri at chu.com.au
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._