File: test-generalTestBF.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-- 246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10

context('generalTestBF')

data(puzzles)

test_that('generalTestBF works', {
  bf <- generalTestBF(RT ~ shape*color*ID, whichRandom="ID", data = puzzles)
  expect_that(bf, is_a("BFBayesFactor"))
  expect_that(length(bf), is_equivalent_to(18))
})