Skip to content
Prev 78024 / 398500 Next

correct syntax

On Thu, 2005-09-29 at 06:57 +1000, Stephen Choularton wrote:
Do you have the raw data or only the tabulated counts?

If you have the raw data, see ?table for ways to create n-dimensional
tables.

If you only have the tabulated counts, then you can use matrix():
0    1
0 601  408
1 290 2655


See ?matrix for more information.

HTH,

Marc Schwartz