R/print.etc.diff.R

Defines functions `print.etc.diff`

`print.etc.diff` <-
function(x,digits=4,...) {


cat("", "\n")
cat("Alternative hypotheses: differences to control within the margins", x$margin.lo, "and", x$margin.up,
    "\n")
cat("Method:", x$method,
    "\n")
out <- cbind(x$estimate, x$conf.int["lower",], x$conf.int["upper",], x$p.value)
colnames(out) <- c("estimate", "lower", "upper", "p.value")
cat("", "\n")
print(out, digits=digits)
cat("", "\n")
invisible(x)


}

Try the ETC package in your browser

Any scripts or data that you put into this service are public.

ETC documentation built on March 18, 2022, 5:57 p.m.