chisq.test(c(32,53,12),p=c(0.25, 0.5, 0.25)) args(chisq.test) chisq.test(c(55,42),p=c(0.5, 0.5))