Hi, Is there a function where I can specify expected proportions for the two-way table to calculate the Chi-square test? chisq.test allows specifying only the one-way table. Otherwise, I will have to write the function, but I never trust myself not to make a mess programing.
Thanks, Miloš Miloš Žarković Professor of Internal Medicine School of Medicine, University of Belgrade Clinic of Endocrinology, Clinical Centre of Serbia 11000 Belgrade PAK 112113 Serbia Phone +381 11 3639 724 email milos.zarko...@med.bg.ac.rs milos.zarko...@gmail.com [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.