BIC.xnicher: Bayesian information criterion for a xnicher fit

View source: R/ic.R

BIC.xnicherR Documentation

Bayesian information criterion for a xnicher fit

Description

Computes -2 \log L + k \log n, where n is nobs(object). Calls BIC.

Usage

## S3 method for class 'xnicher'
BIC(object, ...)

Arguments

object

a fitted model object for which there exists a logLik method to extract the corresponding log-likelihood, or an object inheriting from class logLik.

...

Additional fitted model objects.

Value

Numeric scalar, or a data.frame when multiple objects are passed.

Examples


fit <- optimize_niche(env_occ = example_env_occ_2d,
                      env_m   = example_env_m_2d,
                      num_starts = 5L, likelihood = "weighted")
BIC(fit)


xnicher documentation built on Sept. 15, 2026, 5:08 p.m.