R/is_monoclust.R

Defines functions is_MonoClust

Documented in is_MonoClust

#' Test If The Object is A MonoClust
#'
#' This function returns `TRUE` for MonoClust, and FALSE for all other objects.
#'
#' @param mono_obj An object.
#'
#' @return `TRUE` if the object inherits from the `MonoClust` class.
#' @export
is_MonoClust <- function(mono_obj) {
  if (inherits(mono_obj, "MonoClust")) return(TRUE) else return(FALSE)
}

Try the monoClust package in your browser

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

monoClust documentation built on Feb. 15, 2021, 5:07 p.m.