nLogLike_rcpp | R Documentation |
Computation of the negative log-likelihood (forward algorithm - written in C++)
nLogLike_rcpp(
nbStates,
beta,
covs,
data,
stepDist,
angleDist,
stepPar,
anglePar,
delta,
aInd,
zeroInflation,
stationary,
knownStates
)
nbStates |
Number of states |
beta |
Matrix of regression coefficients for the transition probabilities |
covs |
Covariates |
data |
A |
stepDist |
The name of the step length distribution |
angleDist |
The name of the turning angle distribution |
stepPar |
State-dependent parameters of the step length distribution |
anglePar |
State-dependent parameters of the turning angle distribution |
delta |
Stationary distribution |
aInd |
Vector of indices of the rows at which the data switches to another animal |
zeroInflation |
|
stationary |
|
knownStates |
Vector of values of the state process which are known prior to fitting the model (if any). Default: NULL (states are not known). This should be a vector with length the number of rows of 'data'; each element should either be an integer (the value of the known states) or NA if the state is not known. |
Negative log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.