SimYpsilon: Gibbs sampling of the quantitative latent variables

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The function CompRateYpartial simulates from the Exponential full-conditionals of the quantitative latent variables for the Gibbs sampling of a Bayesian mixture of Plackett-Luce models.

Usage

1
SimYpsilon(rate, n_rank)

Arguments

rate

Numeric NxK matrix of rate parameters.

n_rank

Numeric vector of length N with the number of items ranked by each sample unit.

Value

Numeric NxK matrix of posterior samples of the quantitative latent variables.


cmollica/PLMIX documentation built on Dec. 31, 2020, 10:04 p.m.