We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949a1c9 commit 4114dd0Copy full SHA for 4114dd0
R/get_p_value.R
@@ -257,7 +257,7 @@ two_sided_p_value <- function(vec, obs_stat) {
257
check_hypotheses_align <- function(x, obs_stat) {
258
if (is_hypothesized(x) &&
259
is_hypothesized(obs_stat) &&
260
- attr(x, "params") != attr(obs_stat, "params")) {
+ any(attr(x, "params") != attr(obs_stat, "params"))) {
261
warning_glue(
262
"`x` and `obs_stat` were generated using different null hypotheses. ",
263
"This workflow is untested and results may not mean what you think ",
0 commit comments