Re: [R] Crosstabs

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Fri 07 Jul 2006 - 20:15:10 EST

Bi-Info (http://members.home.nl/bi-info) wrote:
> Dear Users,
>
> I'm a complete novice to R.
>
> I need to do a crosstabs in R, but my data is almost completely
> alphanumeric (with some variables scaled). The Table routine does not
> seem to accept alphanumeric data. What should I do? Do I need to recode
> it? How should I do that?

Works for me:

  table(c("a", "a", "b"), c("a", "c", "c"))

Uwe Ligges

>
> Thanks in advance,
>
> Wilfred
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 07 20:19:08 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 07 Jul 2006 - 22:15:52 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.