CompRateYpartial: Rate parameter computation for the Exponential...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

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

Usage

1
CompRateYpartial(p, pi_inv, ref_order, z, n_rank)

Arguments

p

Numeric GxK matrix of component-specific support parameters.

pi_inv

Numeric NxK data matrix of partial orderings.

ref_order

Numeric GxK matrix of component-specific reference orders.

z

Numeric NxK matrix of binary component memberships.

n_rank

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

Value

Numeric NxK matrix of rate parameters.


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