#' @export
print.mercRel <- function(x, ...) {
cat("\nCall:\n",
paste(deparse(attr(x, "call")),
sep = "\n",
collapse = "\n"),
"\n",
sep = "")
if (length(x$Uncorrected)) {
cat("\nCoefficients Uncorrected Model:\n")
print(x$Uncorrected)
}
if (length(x$Corrected)) {
cat("\nCoefficients Corrected Model:\n")
print(x$Corrected)
}
cat("\n")
invisible(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.