Skip to content

frequency table

5 messages · Milan Toth, Jonathan Baron, Matej Cepl +2 more

#
is anybody whoo know something about making frequency tables in R. i'm 
just beginner in R. thank you.

-=-=-=-=-=-=-=-=-=-=-
milan toth
http://toth.host.sk

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On 11/10/02 11:55, Milan Toth wrote:
table()

Learn how to use the help system too.  When that fails, use my
help page.

A neat trick with table() is that you can use it to tabulate
columns of a matrix (for example) with:

apply(mymatrix,2,table)

Another neat trick is that you can plot it with plot() or
mosaicplot().
#
On Sun, Nov 10, 2002 at 11:55:46AM +0100, Milan Toth wrote:
The command is called table().

	Hezk? den,

		Mat?j Cepl
#
Dear Milan,
At 11:55 AM 11/10/2002 +0100, Milan Toth wrote:
See ?xtabs, ?table, and ?ftable. As well, apropos("tab") or 
apropos("table") is a good way of finding these functions.

Regards,
  John

-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sun, 10 Nov 2002 11:55:46 +0100
Milan Toth <toth at host.sk> wrote:

            
It would be good to begin to read the documentation.  There are multiple manuals on www.r-project.org that deal with this.