print.tost: Print methods for TOST objects

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Printing objects of class '"tost"' by simple 'print' methods.

Usage

1
2
  ## S3 method for class 'tost'
print(x, ...)

Arguments

x

object of class '"tost"'

...

arguments to be passed to other functions.

Details

The function inherits infrastructure from R's print.htest, so a number of elements have been copied from the help file of that function.

Value

the argument 'x', invisibly, as for all 'print' methods.

Author(s)

Andrew Robinson A.Robinson@ms.unimelb.edu.au

See Also

tost

Examples

1
2
data(ufc)
tost(ufc$Height.m.p, ufc$Height.m, epsilon = 1, paired = TRUE)

Example output

Loading required package: lattice
Loading required package: boot

Attaching package: 'boot'

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

    melanoma

Loading required package: PairedData
Loading required package: MASS
Loading required package: gld
Loading required package: mvtnorm
Loading required package: ggplot2

Attaching package: 'PairedData'

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

    summary


	Paired TOST

data:  ufc$Height.m.p and ufc$Height.m
df = 376
sample estimates:
mean of the differences 
              0.6003913 

Epsilon: 1 
95 percent two one-sided confidence interval (TOST interval):
 0.1916419 1.0091407
Null hypothesis of statistical difference is: not rejected 
TOST p-value: 0.05389588 

equivalence documentation built on May 1, 2019, 9:15 p.m.