Skip to content

Commit

Permalink
Fixed bugg due to release of version 0.10.0 of bayestest
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelosPsy committed Jun 1, 2021
1 parent 3baf486 commit d327352
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions R/rm_banova_mf.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,20 @@ rm_banova_mf <- function(cs1,
bayestestR::bayesfactor_inclusion(tmpBANOVA, match_models = TRUE) %>%
dplyr::mutate(model = rownames(.)) %>%
dplyr::filter(model == selected_term) %>%
dplyr::select(BF) %>%
as.numeric()
data.frame() %>%
dplyr::select(log_BF) %>%
as.numeric() %>%
exp()

# Bayes factors for non-matched models
bfum <-
bayestestR::bayesfactor_inclusion(tmpBANOVA, match_models = FALSE) %>%
dplyr::mutate(model = rownames(.)) %>%
dplyr::filter(model == selected_term) %>%
dplyr::select(BF) %>%
as.numeric()
data.frame() %>%
dplyr::select(log_BF) %>%
as.numeric() %>%
exp()

bfmm_res <- data.frame(
x = selected_term,
Expand Down

0 comments on commit d327352

Please sign in to comment.