Learn R Programming

MKinfer (version 1.2)

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

Description

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

Usage

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

Value

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

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.

Author

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

Details

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

See Also

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

Examples

Run this code
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)

Run the code above in your browser using DataLab