Skip to content

Commit

Permalink
Merge pull request #45 from svteichman/multiple_covariate
Browse files Browse the repository at this point in the history
Updating return value when `verbose = FALSE`
  • Loading branch information
svteichman authored Jul 25, 2023
2 parents 0917725 + 2269ac7 commit b15b10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/run_happi.R
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ happi <- function(outcome,
"starts_df" = starts_df))
} else {
p_val <- tail(my_estimates$pvalue[!is.na(my_estimates$pvalue)], 1)
beta <- tail(my_estimated_beta[!is.na(my_estimated_beta)], 1)
beta <- tail(my_estimated_beta[!is.na(my_estimated_beta[, 1]), ], 1)
LRT <- tail(my_estimates$LRT[!is.na(my_estimates$LRT)], 1)
return(list(p_val = p_val, beta = beta, LRT = LRT))
}
Expand Down

0 comments on commit b15b10a

Please sign in to comment.