R/is.trtsel.R

#' 
#' is x a trtsel object?
#' 
#' Function to check if an object is of class "trtsel"
#' 
#' 
#' @param x Any R object.
#' @return Returns TRUE or FALSE depending on whether x is a "trtsel" object or
#' not.
#' @export is.trtsel
is.trtsel <-
function(x){
   inherits(x, "trtsel")
}
mdbrown/TreatmentSelection documentation built on May 22, 2019, 3:23 p.m.