Nothing
#' Prints an `hci` object.
#' @param x Object of type `hci`
#' @param ... Currently unused
#' @return Invisibly returns `x` as the function is called for side effects.
#' @export
#'
#' @examples
#' data(housing)
#' ci.bmi <- ci(ineqvar = housing$income, outcome = housing$bmi, method = "direct")
#' print(ci.bmi)
#'
print.hci <-
function(x, ...) {
if (!inherits(x,"hci")) stop("Object is not of class hci")
print(x$concentration_index)
# return X since its a base-style plot function (https://adv-r.hadley.nz/functions.html) called for side effects
invisible(x)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.