Displaying 1 result from an estimated 1 matches for "q44".
Did you mean:
44
2012 Mar 06
1
How to apply two parameter function in data frame
...or participation vs all of the
other factors.
In SPSS I would do:
CROSSTABS
/TABLES= (my other factors) BY participation
/FORMAT=NOTABLES
/STATISTICS=CHISQ
/COUNT ROUND CELL.
In R I have tried something like:
mapply(chisq.test,participation,surv3[,names(surv3) %in% c('q10','q44')])
which should be effectively the same as
chisq.test(participation,q10)
chisq.test(participation,q44)
except maybe I could store the results better....
but I get told that x and y are not the same length, and in this case,
length() of the y argument is 2, which yes, is not the number of...