man/examples/examples-corr_test.R

# for reproducibility
set.seed(123)

# ----------------------- parametric -----------------------

corr_test(mtcars, wt, mpg)

# ----------------------- non-parametric -------------------

corr_test(mtcars, wt, mpg, type = "n")

# ----------------------- robust ---------------------------

corr_test(mtcars, wt, mpg, type = "r")

# ----------------------- Bayesian -------------------------

corr_test(mtcars, wt, mpg, type = "b")

Try the statsExpressions package in your browser

Any scripts or data that you put into this service are public.

statsExpressions documentation built on Sept. 12, 2023, 5:07 p.m.