print.mpe.test: Print Method for MPE Hypothesis Test

print.mpe.testR Documentation

Print Method for MPE Hypothesis Test

Description

Printing objects of class "mpe.test" by simple print methods.

Usage

  ## S3 method for class 'mpe.test'
print(x, digits = getOption("digits"), prefix = "\t", ...)

Arguments

x

object of class "mpe.test".

digits

number of significant digits to be used.

prefix

string, passed to strwrap for displaying the method component of the mpe.test object.

...

further arguments to be passed to or from methods.

Details

The print method is based on the respective method print.htest of package stats.

Value

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

Note

The function first appeared in package mpe, which is now archived on CRAN.

Author(s)

Srinath Kolampally, Matthias Kohl Matthias.Kohl@stamats.de

See Also

print.power.htest, mpe.z.test, mpe.t.test.

Examples

library(mvtnorm)
delta <- c(0.25, 0.5)
Sigma <- matrix(c(1, 0.75, 0.75, 1), ncol = 2)
n <- 50
X <- rmvnorm(n=n, mean = delta, sigma = Sigma)
Y <- rmvnorm(n=n, mean = rep(0, length(delta)), sigma = Sigma)
mpe.t.test(X = X, Y = Y)

stamats/MKinfer documentation built on April 10, 2024, 3:33 p.m.