[R] Crosstabs

Uwe Ligges
2006-07-07T10:15:10Z

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 at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!