R/density_no_effect.R

Defines functions density_no_effect

Documented in density_no_effect

#' density of no effect expected
#'
#' @param d a numeric quantile
#' @param trunc_mean mean of truncated normal
#' @param trunc_sd standard deviation of truncated normal
#'
#' @return
#' @export
density_no_effect = function(d,
                      trunc_mean,
                      trunc_sd) {
  return(msm::dtnorm(x = d,
                mean = trunc_mean,
                sd = trunc_sd))
}
ZahraNSL/ODENEM documentation built on Dec. 31, 2020, 6:35 p.m.