Created
March 26, 2017 12:01
-
-
Save saralilyb/f2271e8116bfd566096bb175185b2956 to your computer and use it in GitHub Desktop.
compare bayesfactor models in R with the random baseline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# compares bayesfactor analyses relative to the last, which is the random only model (just participants) | |
compbf <- function(m) { | |
m[c(1:(length(m)-1))]/m[length(m)] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment