R/exp.mcpCI.R

Defines functions exp.mcpCI

Documented in exp.mcpCI

#' exp transformation of Confidence Intervals
#' 
#' Exponential transformation of confidence interval estimates in mcpCI objects.
#' 
#' @param x An object of class mcpCI
#' 
#' @return An object of class mcpCI with transformed estimates.
#' 
#' @family confidence interval transformations
#' @seealso \code{\link{exp}}, \code{\link{confint.mcprofile}}
#' 
#' @keywords misc

exp.mcpCI <-
  function(x){
    x$estimate <- exp(x$estimate)
    x$confint <- exp(x$confint)
    return(x)
  }

Try the mcprofile package in your browser

Any scripts or data that you put into this service are public.

mcprofile documentation built on April 20, 2021, 9:06 a.m.