R/summary.pbo.R

Defines functions summary.pbo

#' @export
summary.pbo <- function(object,...) {
  writeLines(c(paste("Performance function",
                     object$func,
                     "with threshold",
                     object$threshold),
               ""))
  results <- c(object$phi,object$slope,object$ar2,object$below_threshold)
  names(results) <- c("p_bo","slope","ar^2","p_loss")
  results
}
mrbcuda/pbo documentation built on May 28, 2022, 7:19 p.m.