Skip to content

Commit

Permalink
Merge pull request #34 from Merck/33-bug-in-line-132-of-calc_seq_p
Browse files Browse the repository at this point in the history
fix the bug on `p_obs`
  • Loading branch information
nanxstats authored Feb 1, 2024
2 parents ef046d3 + b1bc45f commit 2a294bb
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 2a294bb

Please sign in to comment.