print.lrtest {LRTesteR}R Documentation

Print results of tests.

Description

Print results of tests.

Usage

## S3 method for class 'lrtest'
print(x, ...)

Arguments

x

a test from LRTesteR.

...

arguments passed to other methods.

Examples

library(LRTesteR)

set.seed(1)
x <- rnorm(100, 0, 1)
test <- gaussian_mu_one_sample(x, 0, "two.sided")
print(test)

set.seed(1)
x <- rnorm(150, 1, 1)
fctr <- c(rep(1, 50), rep(2, 50), rep(3, 50))
fctr <- factor(fctr, levels = c("1", "2", "3"))
test <- gaussian_mu_one_way(x, fctr, .95)
print(test)

[Package LRTesteR version 1.1.1 Index]