Skip to content

Commit

Permalink
export tkonfound_fig
Browse files Browse the repository at this point in the history
  • Loading branch information
qinyun-lin committed Apr 10, 2024
1 parent 5f78862 commit cbfc555
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export(konfound)
export(mkonfound)
export(pkonfound)
export(tkonfound)
export(tkonfound_fig)
importFrom(broom,glance)
importFrom(broom,tidy)
importFrom(broom.mixed,tidy)
Expand Down
5 changes: 5 additions & 0 deletions R/tkonfound_fig.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
#'
#' @return Returns two plots showing the effect of hypothetical case switches
#' on the effect size in a 2x2 table.
#' @examples
#' tkonfound_fig(14, 17, 6, 25, test = "chisq")
#'
#' @export

tkonfound_fig <- function(a, b, c, d, thr_p = 0.05, switch_trm = TRUE,
test = "fisher", replace = "control"){

Expand Down
4 changes: 4 additions & 0 deletions man/tkonfound_fig.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbfc555

Please sign in to comment.