sample_gibbs_c: Conditional sampler of c_fn

Description Usage Arguments Details

View source: R/sample_gibbs.R

Description

Samples a multinomial vector c_fn

Usage

1
sample_gibbs_c(v_fn, w_f, h_n)

Arguments

v_fn

value of V[f,n] the drawn vector will sum up to this value

w_f

f-th row of the W matrix

h_n

h-th column of the H matrix

Details

Deals with cases where v_fn = 0, therefore c_fn = 0,..0


alumbreras/MMLE-GaP documentation built on May 18, 2019, 2:37 a.m.