search for: 2x20something

Displaying 1 result from an estimated 1 matches for "2x20something".

2012 Aug 10
2
creating a contingency table from a data.frame automatically (NOT BY HAND)
...6 34 0 12 3... of course, hunting.prev would only be needed to create the index via hunting.prev=="success" and is here used to indicate what each row means. My questions would be: a) how to count and split each categorical variable by a response variable, how to create a 2x20something (contingency) table and how far a prop.test() approach or a chi? may be more appropriate to actually analyze the data. b) how do you guys create R output so that it's formatted in nice columns and rows? Hope to see help, Thanks!