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")
}
cjvanlissa/metaforest documentation built on Jan. 28, 2024, 12:19 p.m.