Hi!
 the warning you got
"Chi-squared approximation may be incorrect"
is because probably there are less than 5 observations in
the cell. Maybe will help to 
try fisher.test()

Cheers

Anna







----- Messaggio originale -----
Da: My Coyne <[EMAIL PROTECTED]>
A: [EMAIL PROTECTED]
Inviato: Lunedì 14 gennaio 2008, 21:51:30
Oggetto: [R] In chisq.test(x) : Chi-squared approximation may be incorrect

Hello,

 

I received the following warning when running chi-square;

n  Is there a way to catch the 'error' code of 'warning' after run
chisq.test(x)?

n  What does this error mean?

 

Thank you for your help.

 

 


    [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.






      ___________________________________ 

ttp://it.docs.yahoo.com/nowyoucan.html
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to