v4_li_mat_func and v4_prior_func use working model 4 described here: https://jean997.github.io/sh2Ash/mh_test.html
1 2 3 |
pars.start |
Starting parameters: eg rho, b, q. Should be appropriate for li.mat.func |
data |
data |
grid |
Should be a data.frame with at least two columns, S1 and S2. |
par.bounds |
should be data.frame or matrix number of pars by 2 |
split |
Optimization can be split over the range of a parameter if desired. |
version |
Determines likelihood and prior functions The prior on pi is hard coded as dirichlet((10, 1, 1, ...)) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.