Skip to content

Commit

Permalink
- small bug fix for significance test
Browse files Browse the repository at this point in the history
  • Loading branch information
wojcieko committed Sep 22, 2023
1 parent 6e12c0c commit 80a80ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/BMCPMod.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ BayesMCPMod <- function (
post_probs <- apply(contr_mat$contMat, 2, getPostProb, post_combs_i)

res_list <- list(
sign = ifelse(max_prob > crit_prob, 1, 0),
sign = ifelse(max(post_probs) > crit_prob, 1, 0),
p_val = max(post_probs),
post_probs = post_probs)

Expand Down

0 comments on commit 80a80ad

Please sign in to comment.