print.lrtest | R Documentation |
Print results of tests.
## S3 method for class 'lrtest'
print(x, ...)
x |
a test from LRTesteR. |
... |
arguments passed to other methods. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.