printConfint: Print confidence intervals

Description Usage Arguments Value Author(s) Examples

View source: R/confidence-intervals.R

Description

Extract and print the confidence intervals for an object of class "htest" (i.e. results of a "t.test", "binom.test", "poisson.test", etc.)

Usage

1

Arguments

x

an object of class "htest"

Value

Text printed to the console.

Author(s)

Andrew Heiss <andrew@andrewheiss.com>

Examples

1
2
3
  x <- runif(100)
  .test <- t.test(x, conf.level=.99)
  printConfint(.test)

Example output

Loading required package: Rcmdr
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Loading required package: effects
lattice theme set by effectsTheme()
See ?effectsTheme for details.
The Commander GUI is launched only in interactive sessions

Attaching package: 'Rcmdr'

The following object is masked from 'package:car':

    Confint

Loading required package: ordinal

Attaching package: 'ordinal'

The following objects are masked from 'package:RcmdrMisc':

    dgumbel, pgumbel, qgumbel, rgumbel

Warning message:
no DISPLAY variable so Tk is not available 
99 percent confidence interval:
 0.4338287 0.5904036 

RcmdrPlugin.MPAStats documentation built on May 1, 2019, 6:26 p.m.