% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aliases.R
\name{fit_climniche}
\alias{fit_climniche}
\title{Fit niche climate exposure}
\usage{
fit_climniche(
  current,
  future,
  occupied = NULL,
  occupied_threshold = 0,
  cnfa = NULL,
  center = NULL,
  sensitivity = NULL,
  A = NULL,
  metric = c("diag", "factor"),
  boundary = 0.95,
  scale = TRUE,
  global_mean = NULL,
  global_sd = NULL,
  conflict_ratio = 0.25
)
}
\arguments{
\item{current}{Numeric matrix or data frame of current environmental values.}

\item{future}{Numeric matrix or data frame of future environmental values.}

\item{occupied}{NULL, logical vector, row indices, or a numeric vector with
one value per row identifying current occurrence, range, or thresholded SDM
cells.}

\item{occupied_threshold}{Threshold used when \code{occupied} contains binary or
continuous values.}

\item{cnfa}{Optional CENFA model object.}

\item{center}{Optional realised niche centre in standardised climate space.}

\item{sensitivity}{Optional environmental sensitivity weights.}

\item{A}{Optional niche metric matrix.}

\item{metric}{Metric construction when \code{A} is not supplied.}

\item{boundary}{Quantile defining the empirical realised niche boundary.}

\item{scale}{Logical. If TRUE, standardise current and future values.}

\item{global_mean}{Optional means used for standardisation.}

\item{global_sd}{Optional standard deviations used for standardisation.}

\item{conflict_ratio}{Minimum minority sign contribution share used to mark
mixed variable responses. Set to NULL to disable this flag.}
}
\value{
An object of class \code{climniche_fit}.
}
\description{
Fit niche climate exposure
}
