Some useful R code
I've wrapped some custom functions I use in R alongside
BayesFactor into a mini-package that you can find here>>.
This (for now) includes two functions:
inclusionBF to compute inclusion BFs (an R implementation of what can be found in JASP - produces identical results).
restrict to compute BF for restricted models. See Richard's excellent post on the subject here>>.
Hope you find this useful!