Learn R Programming

BNPdensity (version 2025.7.29)

rprop_logu: Proposal distribution for logU

Description

This function makes a proposal for a new value of logU

Usage

rprop_logu(logu, delta)

Arguments

logu

Real, log of the latent variable U at the current iteration.

delta

Scale of the Metropolis-Hastings proposal distribution