% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/maxent_outputs.R
\name{maxent_write_omission_csv}
\alias{maxent_write_omission_csv}
\title{Write an Omission / Threshold CSV}
\usage{
maxent_write_omission_csv(
  model,
  env_grids,
  feature_names,
  presence_rows,
  presence_cols,
  output_dir,
  species,
  test_rows = NULL,
  test_cols = NULL
)
}
\arguments{
\item{model}{External pointer to a trained FeaturedSpace object.}

\item{env_grids}{List of external pointers to Grid<float> objects.}

\item{feature_names}{Character vector of environment variable names.}

\item{presence_rows}{Integer vector of presence row indices (0-based).}

\item{presence_cols}{Integer vector of presence column indices (0-based).}

\item{output_dir}{Character: directory for output files.}

\item{species}{Character: species name (used in the filename).}

\item{test_rows}{Integer vector of test row indices (0-based) or
\code{NULL} (default).}

\item{test_cols}{Integer vector of test column indices (0-based) or
\code{NULL} (default).}
}
\value{
Invisibly returns the path to the written CSV file.
}
\description{
Computes cumulative predictions at all background + presence locations and
derives nine standard threshold statistics, writing the result to
\code{<output_dir>/<species>_omission.csv}.  The output format mirrors
\code{density/Runner.java::writeCumulativeIndex()}.
}
\examples{
\donttest{
maxent_write_omission_csv(model, list(g1, g2), c("bio1", "bio12"),
  pres_rows, pres_cols, output_dir = tempdir(), species = "Sp1")
}
}
