chisq.carac: Chisquare tests of a qualitative variable by several qualitative variables
Description
Chisqure tests are performed for the contingency tables crossing a qualitative variable named cl and the qualitative variables present in columns from df
Usage
chisq.carac(df,cl,thr=2,decr=TRUE)
Arguments
df
data.frame, with factors contain the categories of the qualitave variables
cl
factor indicating the category of each subject
thr
threshold of test value, if decr=TRUE, only the rows where tval >= thr are returned
decr
if decr=TRUE the rows are returned in decreasing order