Displays a concise summary of a "xnicher" optimization result,
including the likelihood type, number of starts, convergence count,
and the best log-likelihood achieved.
Usage
# S3 method for class 'xnicher'
print(x, ...)Arguments
- x
A
"xnicher"object returned byoptimize_niche.- ...
Ignored.
Examples
# \donttest{
result <- optimize_niche(
env_occ = example_env_occ_2d,
env_m = example_env_m_2d,
num_starts = 5L,
likelihood = "ip_weighted"
)
print(result)
#> -- xnicher optimization result --
#> Likelihood : ip_weighted
#> Starts : 6 (converged: 6 )
#> Best loglik: -631.9638
#> Convergence: 1
#> eta : 1
#> Variables : bio1WH, bio12WH
# }