R/print.assoc.r

#' @export
print.assoc <- function (x, ...) {
    options(digits = 4)
    cat("\n", x$prefer.lab, "\n", "Test Statistic=", format(x$test.stat), 
        "\n", "\n", x$prefer2.lab, "\n", x$prefer3.lab, "for randomization test=", 
        format((sum(x$test.stat <= x$test.stat.rep))/(length(x$test.stat.rep))), 
        "\n", "Number of randomizations = ", length(x$test.stat.rep), 
        "\n")
}
AMCOOK/bio.survey documentation built on June 12, 2022, 4:59 a.m.