Learn R Programming

report (version 0.1.0)

report.htest: h-test (Correlation, t-test...) Report

Description

Create a report of an h-test object.

Usage

# S3 method for htest
report(model, effsize = "cohen1988", ...)

Arguments

model

Object of class htest.

effsize

Effect size interpretation set of rules.

...

Arguments passed to or from other methods.

See Also

report

Examples

Run this code
# NOT RUN {
report(cor.test(iris$Sepal.Width, iris$Sepal.Length, method = "spearman"))
report(t.test(iris$Sepal.Width, iris$Sepal.Length))
report(t.test(iris$Sepal.Width, iris$Sepal.Length, var.equal = TRUE))
report(t.test(mtcars$mpg ~ mtcars$vs))
report(t.test(iris$Sepal.Width, mu = 1))
# }

Run the code above in your browser using DataLab