File: test-correlationBF.R

package info (click to toggle)
r-cran-bayesfactor 0.9.12-4.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,492 kB
  • sloc: cpp: 1,555; sh: 16; makefile: 7
file content (10 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10

context("correlationBF")

set.seed(0)

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