Learn R Programming

psycho (version 0.4.91)

bayes_cor.test: Performs a Bayesian correlation.

Description

Performs a Bayesian correlation.

Usage

bayes_cor.test(x, y, CI = 90, iterations = 10000,
  effsize_rules_r = "cohen1988", effsize_rules_bf = "jeffreys1961")

Arguments

x

First continuous variable.

y

Second continuous variable.

CI

Credible interval bounds.

iterations

The number of iterations to sample.

effsize_rules_r

Grid for effect size interpretation. See interpret_r.

effsize_rules_bf

Grid for effect size interpretation. See interpret_bf.

Value

A psychobject.

Examples

Run this code
# NOT RUN {
library(psycho)
x <- psycho::affective$Concealing
y <- psycho::affective$Tolerating

bayes_cor.test(x, y)
summary(bayes_cor.test(x, y))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab