inst/tests/test-correlationBF.R

context("correlationBF")

set.seed(0)

test_that("correlation works", {
  x <- runif(100)
  y <- x + rnorm(100)
  correlationBF(x, y)
})

Try the BayesFactor package in your browser

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

BayesFactor documentation built on May 29, 2024, 3:09 a.m.