Skip to content

Commit

Permalink
fix the bug on p_obs
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBeannie committed Jan 31, 2024
1 parent ef046d3 commit b1bc45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calc_seq_p.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ calc_seq_p <- function(

p_diff <- NULL
for (hhh in all_hypothesis) {
p_diff_new <- p_obs[[hhh]] - ans[[hhh]]
p_diff_new <- (p_obs %>% filter(analysis <= test_analysis))[[hhh]] - ans[[hhh]]
p_diff <- c(p_diff, p_diff_new)
}

Expand Down

0 comments on commit b1bc45f

Please sign in to comment.