Pearson's Chisquared Test

Gives something like this:
Pearson's Chisquared test with Yates' continuity correction
data: tab1
Xsquared = 2.275, df = 1, pvalue = 0.1315
Warning message:
Chisquared approximation may be incorrect in: chisq.test(tab1, correct = TRUE)
> chisq.test(tab1, correct=TRUE,simulate.p.value = TRUE,B=10000)
Pearson's Chisquared test with simulated pvalue (based on 10000
replicates)
data: tab1
Xsquared = 5.3846, df = NA, pvalue = 0.07419

