meanCI: Confidence Intervals and P-values for a Mean

Description Usage Arguments Value Author(s) See Also Examples

Description

Convenience functions that extract a confidence interval or p-value.

Usage

1
2
3
4
meanCI(...)
meanPval(...)
propCI(..., method=c('binom.test','prop.test', 'wilson', 'agresti-coull'))
propPval(..., method=c('binom.test','prop.test'))

Arguments

...

arguments to t.test or prop.test

method

an integer or character naming which method to use

Value

A numeric. As a side-effect, additional information about the interval or hypothesis test is printed to the screen.

Author(s)

Randall Pruim (rpruim@calvin.edu)

See Also

interval, pval

Examples

1
2
3
4
5
bwplot(extra ~ group, data = sleep)
meanCI(extra ~ group, data = sleep)
meanPval(extra ~ group, data = sleep)
propCI(60,100)
propPval(60,100)

abd documentation built on May 2, 2019, 4:46 p.m.