R/is_cint.R

Defines functions is.cint

Documented in is.cint

#' Type Check
#'
#' Checks if an object inherits class 'cint'.
#'
#' @param x Any object.
#' @return A logical vector of length one.
#' @export
#' @examples
#' is.cint(ci_proportion(5, 20))
is.cint <- function(x) {
  inherits(x, "cint")
}

Try the confintr package in your browser

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

confintr documentation built on Jan. 29, 2022, 1:08 a.m.