loghastings_binomial_: Calculate the log hastings adjustment for metropolis...

View source: R/popsim1d_fast.R

loghastings_binomial_R Documentation

Calculate the log hastings adjustment for metropolis algorithm (quickly)

Description

Calculate the log hastings adjustment for metropolis algorithm (quickly)

Usage

loghastings_binomial_(Ycur, Yprop, k)

Arguments

Ycur

numeric vector for current value of population

Yprop

numeric vector for proposed value of population

k

position of the changing value


ctgrubb/lemur.pack documentation built on May 7, 2023, 4:13 a.m.