nllkMSLG: Negative log-likelihood for multistate local Gibbs model

View source: R/nllkMSLG.R

nllkMSLGR Documentation

Negative log-likelihood for multistate local Gibbs model

Description

Negative log-likelihood for multistate local Gibbs model

Usage

nllkMSLG(par, xy, nstate, MCgrids, cov, lim, res, norm = FALSE)

Arguments

par

Vector of parameters on working scale

xy

Matrix of observed locations

nstate

Number of states

MCgrids

List of Monte Carlo samples, with components gridc and gridz. As output by MCsample.

cov

Array of covariates (one layer for each covariate)

lim

Limits of the covariate rasters.

res

Resolution of the covariate rasters.

norm

Logical. TRUE if normal transition density.

Value

Negative log-likelihood


TheoMichelot/localGibbs documentation built on March 24, 2022, 5:56 a.m.