% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/maxent_report.R
\name{maxent_print_results}
\alias{maxent_print_results}
\title{Print Maxent Model Results}
\usage{
maxent_print_results(
  species,
  eval_result,
  contributions_df,
  perm_imp_df,
  n_presence,
  n_background,
  test_eval_result = NULL,
  n_test = 0L,
  fit_result = NULL
)
}
\arguments{
\item{species}{Character: species name.}

\item{eval_result}{Named list returned by \code{\link{maxent_evaluate}}
(training predictions vs background).}

\item{contributions_df}{Data.frame with columns \code{name} and
\code{contribution} (from \code{\link{maxent_percent_contribution}}).}

\item{perm_imp_df}{Data.frame with columns \code{name} and
\code{permutation_importance} (from
\code{\link{maxent_permutation_importance}}).}

\item{n_presence}{Integer: number of training presence records.}

\item{n_background}{Integer: number of background records.}

\item{test_eval_result}{Named list returned by \code{\link{maxent_evaluate}}
for test data, or \code{NULL} (default).}

\item{n_test}{Integer: number of test presence records
(default \code{0L}).}

\item{fit_result}{Named list returned by \code{\link{maxent_fit}} or
\code{NULL}.  Used to report regularized training gain and entropy.}
}
\value{
Invisibly returns a named list with all reported metrics.
}
\description{
Prints a summary of Maxent model performance metrics to the console,
replicating the style of the \pkg{dismo} package's MaxEnt output.  The
report includes sample counts, training (and optionally test) evaluation
statistics, and a ranked variable-contributions table.
}
\examples{
\donttest{
maxent_print_results(
  species          = "Sp1",
  eval_result      = maxent_evaluate(pres_preds, bg_preds),
  contributions_df = contrib,
  perm_imp_df      = perm_imp,
  n_presence       = length(pres_rows),
  n_background     = length(bg_rows))
}
}
