## Compute some Bayes factors to demonstrate Bayes factor lists
data(puzzles)
bfs <- anovaBF(RT ~ shape*color + ID, data = puzzles, whichRandom = "ID", progress=FALSE)
## Create a matrix of Bayes factors
bfList <- bfs / bfs
bfList
## Use indexing to select parts of the 'matrix'
bfList[1,]
bfList[,1]
## We can use the t (transpose) function as well, to get back a BFBayesFactor
t(bfList[2,])
## Or transpose the whole matrix
t(bfList)
Run the code above in your browser using DataLab