[R] how can i have the total for each level using table,ftable,xtabs etc. etc. ?

Danilo Maurizio danilo.maurizio at venetolavoro.it
Tue Dec 11 12:54:08 CET 2001


I have a list with four fields and 3500 records, from a MySQL table.
How can i have the total for each level using table, ftable, xtabs?

ex:
print(ftable(table[,"field1"]~table[,"field2"]))

thanks 
Danilo Maurizio
Veneto Lavoro - Area Osservatorio -


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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