R/is_stratEst_data.R

Defines functions is.stratEst.data

Documented in is.stratEst.data

#' Class stratEst.data
#' @param x object to be tested.
#' @description Checks if an object is of class \code{stratEst.data}.
#' @details Objects of class \code{stratEst.data} are returned by the functions \code{stratEst.data()} and \code{stratEst.simulate()} of package \code{stratEst}.
#' @return \code{is.stratEst.data} returns \code{TRUE} if its argument is a \code{stratEst.data} object (that is, has "stratEst.data" amongst its classes) and \code{FALSE} otherwise.
#' @export
is.stratEst.data <- function( x ){
  inherits(x, "stratEst.data")
}

Try the stratEst package in your browser

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

stratEst documentation built on Oct. 6, 2021, 1:10 a.m.