Description Usage Arguments Value
View source: R/maximal2_pcn_coupling.R
Generate pCN proposals for two chains via maximal coupling
1 | maximal2_pcn_coupling(chain_state1, chain_state2, identical, tuning)
|
chain_state1 |
a vector with coordinates of the first particle |
chain_state2 |
a vector with coordinates of the second particle |
identical |
a flag that is True if chains are identical and False otherwise |
tuning |
a list that contains parameters needed for pCN: standard devation and rho |
a list that contains state of the first chain, state of the second chain, updated value of the flag "identical", cost of proposal generation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.