R/print.sbm.R

Defines functions print.sbm

#'
#' print method for sbm objects
#'
#' @param x An sbm object
#' @noRd
#'
print.sbm <- function(x, ...){
  writeLines(c("Call:", format(x$formula),
             "\nProbability distribution:", x$pdf,
             "\nEstimates:"))
  print(x$estimate)
}

Try the sbd package in your browser

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

sbd documentation built on June 22, 2024, 9:50 a.m.