set_likelihood_vars | R Documentation |
Given a matrix, Q_mat
, or log P(y|x), under the Poisson-Lognormal model.
Sets this as a global variable for fast computations in the future.
set_likelihood_vars(Q_mat_loc, X_vals, sigma = NULL)
Q_mat_loc |
Matrix of precomputed probabiliites, as previously computed by |
X_vals |
the x-values used for computing the likelihood functions. |
sigma |
(default NULL). If NULL, computes SQ_mat according to Q_mat_loc. Else, uses precomputed values of SQ_mat stored in SQ_mat_all with index sigma |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.