chisq.carac | R Documentation |
Chisqure tests are performed for the contingency tables crossing a qualitative variable named cl
and the qualitative variables present in columns from df
chisq.carac(df,cl,thr=2,decr=TRUE)
df |
|
cl |
factor indicating the category of each subject |
thr |
threshold of test value, if decr=TRUE, only the rows where |
decr |
if decr=TRUE the rows are returned in decreasing order |
Matrix with the following columns:
chi2 |
chisquare statistic |
dfr |
degree of fredom of chisquare densidity |
pval |
$p$ value |
tval |
quantil |
phi2 |
|
Campo Elias Pardo cepardot@unal.edu.co
data(DogBreeds)
round(chisq.carac(DogBreeds[,-7],DogBreeds[,7]),3)
round(chisq.carac(DogBreeds[,-7],DogBreeds[,7],decr=FALSE),3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.