require(gmodels)data(infert, package = "datasets")CrossTable(infert$education, infert$induced, expected = TRUE)CrossTable(infert$education, infert$induced, expected = TRUE, format="SAS")CrossTable(infert$education, infert$induced, expected = TRUE, format="SPSS")CrossTable(warpbreaks$wool, warpbreaks$tension, dnn = c("Wool", "Tension"))
function findlink(pkg, fn) { var Y, link; Y = location.href.lastIndexOf(“\\”) + 1; link = location.href.substring(0, Y); link = link + “../../” + pkg + “/chtml/” + pkg + “.chm::/” + fn; location.href = link; }