R/print.CIMTx_ATT_sa.R

Defines functions print.CIMTx_ATT_sa

Documented in print.CIMTx_ATT_sa

#' Print the ATT results for from sensitivity analysis
#'
#' The \code{\link{print}} method for class "CIMTx_ATT_sa"
#'
#' @param x a \code{CIMTx_ATT_sa} object obtained
#' from \code{\link{sa}} function
#' @param ... further arguments passed to or from other methods.
#'
#' @return The output from \code{\link{print}}
#' @export
#'
#' @examples
#' result <- list(estimand = "ATT")
#' class(result) <- "CIMTx_ATT_sa"
#' print(result)
print.CIMTx_ATT_sa <- function(x, ...) {
  cat(
    "This is sa results using CIMTx pakcage",
    "For effect estimates, please use summary function."
  )
}

Try the CIMTx package in your browser

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

CIMTx documentation built on June 24, 2022, 9:07 a.m.