R/utils.R

Defines functions check_class

#--- from process_output ---------------------------------------------------------------------------
#Check that an object is the right class
check_class <- function(output){
  if(!inherits(output, "jagsUI")) stop("Requires jagsUI object")
}
#------------------------------------------------------------------------------

Try the jagsUI package in your browser

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

jagsUI documentation built on June 18, 2021, 5:08 p.m.