View source: R/popsim1d_fast.R
loghastings_binomial_ | R Documentation |
Calculate the log hastings adjustment for metropolis algorithm (quickly)
loghastings_binomial_(Ycur, Yprop, k)
Ycur |
numeric vector for current value of population |
Yprop |
numeric vector for proposed value of population |
k |
position of the changing value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.