Nothing
#' @export
print.bm <- function(x, ...) {
cat("\nCall:\n", paste(deparse(x$call), sep = "\n", collapse = "\n"), "\n\n", sep = "")
cat("Draws (total): ", NROW(x$draw), " (", x$model$get_meta, ")\n", sep = "")
coefs <- colMeans(x$draw)
cat("Coefficients (mean):\n")
print.default(format(coefs, digits = 3L), print.gap = 2L, quote = FALSE)
cat("\n")
# invisible(x)
}
#' @export
summary.bm <- function(object, ...) {
summary(object$draws)
}
#' @export
#' @importFrom stats plot.ts
plot.bm <- function(x, ...) {
plot.ts(x$draws)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.