publish.htest: Pretty printing of test results.

View source: R/publish.htest.R

publish.htestR Documentation

Pretty printing of test results.

Description

Pretty printing of test results.

Usage

## S3 method for class 'htest'
publish(object, title, ...)

Arguments

object

Result of t.test or wilcox.test

title

Decoration also used to name output

...

Used to transport arguments ci.arg and pvalue.arg to subroutines format.pval and formatCI. See also prodlim::SmartControl.

Author(s)

Thomas A. Gerds <tag@biostat.ku.dk>

Examples

data(Diabetes)
publish(t.test(bp.2s~gender,data=Diabetes))
publish(wilcox.test(bp.2s~gender,data=Diabetes))
publish(with(Diabetes,t.test(bp.2s,bp.1s,paired=TRUE)))
publish(with(Diabetes,wilcox.test(bp.2s,bp.1s,paired=TRUE)))


Publish documentation built on Jan. 18, 2023, 1:08 a.m.