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.


lucatardella/PLMIX documentation built on Jan. 1, 2021, 8:25 a.m.