R/print.MetaForest.R

Defines functions print.MetaForest

#' @method print MetaForest
#' @export
print.MetaForest <- function(x, digits = NULL, ...) {
    cat("Call:\n")
    print(x$call)

    cat("\nR squared (OOB):                 ", formatC(x$forest$r.squared, digits = digits, format="f"), "\n")
    cat("Residual heterogeneity (tau2):   ", formatC(x$rma_after$tau2, digits = digits, format="f"), "\n")
}

Try the metaforest package in your browser

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

metaforest documentation built on May 29, 2024, 11:38 a.m.