Re: [R] How to apply two parameter function in data frame

2012-03-06 Thread David L Carlson
David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of jon waterhouse Sent: Tuesday, March 06, 2012 2:16 PM To: r-help@r-pr

[R] How to apply two parameter function in data frame

2012-03-06 Thread jon waterhouse
I know this is something simple that I cannot do because I do not yet "think" in R. I have a data frame has a variable participation (a factor), and several other factors. I want a chisq test (no contingency tables) for participation vs all of the other factors. In SPSS I would do: CROSSTABS