#' @rdname print.sc
#' @export
print.sc_ac <- function(x, digits = "auto", ...) {
if (digits == "auto") digits <- 2
cat("Autocorrelations\n\n")
x <- x$autocorr
for (i in 1:length(x)) {
x[[i]][, -1] <- round(x[[i]][, -1], digits)
cat(names(x)[i], "\n")
print(x[[i]], row.names = FALSE)
cat("\n")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.