Message Boards Message Boards

1
|
13720 Views
|
6 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Two-way contingency table

Posted 10 years ago
Hi folks,

Is there a way to compute, like in the R language, a two-way contingency table? I don't find any built-in command to do that, any clues?

Steeve
POSTED BY: Steeve Brechmann
6 Replies
POSTED BY: Anton Antonov
POSTED BY: Anton Antonov
You should just go ahead and use R-Link.

Why Would a Mathematica User Care about R?
POSTED BY: Sam Carrettie
I don't yet have enough of a clue to answer your questions but I think the lack of an answer might just be a matter of vocabulary.  Given the number of questions/answers related to Cross-tabs, pivot tables, and DataFrames on the mathematica Stack Exchange I think you are right that it is not built-in (yet, see functions planned for version 10) but it is easy to build for experienced users.

Related?
http://mathematica.stackexchange.com/questions/21117/how-can-i-create-an-advanced-grid-interface-on-mathematica
http://mathematica.stackexchange.com/questions/19136/creating-a-r-dataframe-like-construct-in-mathematica
http://mathematica.stackexchange.com/questions/9269/the-gap-between-mapat-and-replacepart-for-2d-data-tables-with-headers/9279#9279
POSTED BY: Carl Lemp
I think your question is very general? Perhaps you could give an example of what kind of table (2x2 or n*n) you want and what you would like to do with it?
I think you have to build your own function to do so.
POSTED BY: l van Veen
Well, I think that nobody have a clue ;).
POSTED BY: Steeve Brechmann
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract