Skip to content

Commit

Permalink
#102 add @import packages to documentation and update descriotion /…
Browse files Browse the repository at this point in the history
… title
  • Loading branch information
egouldo committed Aug 11, 2024
1 parent 37a7be3 commit 99badef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions R/conversion.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#' Conditionally apply back-transformation
#' @description Conditionally apply back-transformation functions depending on the value of `transformation`
#' Apply back-transformation to beta estimates
#' @description Conditionally apply back-transformation functions depending on the value of `transformation`.
#'
#' @param beta Beta estimate, numeric vector of length 1.
#' @param se Standard error of the `beta` estimate, numeric vector of length 1
Expand All @@ -21,6 +21,11 @@
#' * "powerX", where `X` is a numeric
#' * "divided.by.X", where `X` is a numeric
#' @export
#' @import dplyr
#' @import purrr
#' @import cli
#' @import rlang
#' @import stringr
conversion <- function(beta, se, transformation, sim = 10000) {
# Ensure Correct Number of Arguments Supplied
na_args <- purrr::discard(c(beta, se, transformation), is.na) %>%
Expand Down

0 comments on commit 99badef

Please sign in to comment.