Description Usage Arguments Value
View source: R/compute_distance_metropolis_idchecking.R
meeting time between Metropolis sampler in gibbs_condbern.R and the Conditional-Bernoulli distribution
1 2 3 4 5 6 | get_meetingtime_metropolis_idchecking(
alpha,
sum_x,
num_repeat,
max_iterations = Inf
)
|
alpha |
vector of probabilities |
sum_x |
Conditional-Bernoulli constraint, sum of all entries |
num_repeat |
number of repetitions |
max_iterations |
maximum number of iterations, at which to interrup the while loop; Inf by default |
Meeting times stored in a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.