calc_ll_pg_stlm_loo | R Documentation |
this function generates the log-likelihood for data fit using the pg_splm() function. The log-likelihood can be used for model selection and evaluation.
calc_ll_pg_stlm_loo(Y, X, locs, out, n_message = 50)
Y |
is a N x J x T array of compositional count data. |
X |
is a n_sites x p matrix of climate variables. |
locs |
is a N x 2 matrix of observation locations |
out |
is a list of MCMC outputs from |
n_message |
A positive integer number of frequency of iterations
to output a progress message. For example, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.