Learn R Programming

report (version 0.1.0)

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

Description

Create a report of an h-test object.

Usage

# S3 method for htest
model_table(model, ...)

# S3 method for htest model_text(model, interpretation = "funder2019", ...)

# S3 method for htest report(model, interpretation = "funder2019", ...)

Arguments

model

Object of class htest.

...

Arguments passed to or from other methods.

interpretation

Effect size interpretation set of rules (see interpret_d and interpret_r).

See Also

report

report

report

Examples

Run this code
# NOT RUN {
report(cor.test(iris$Sepal.Width, iris$Sepal.Length, method = "spearman"))
report(cor.test(iris$Sepal.Width, iris$Sepal.Length, method = "pearson"))
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