Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

binary_group_ind

Binary group membership matrix


Description

Construct the binary group membership matrix from the multinomial classification vector.

Usage

binary_group_ind(class, G)

Arguments

class

Numeric vector of class memberships.

G

Number of possible different classes.

Value

Numeric length(class)xG matrix of binary group memberships.

Author(s)

Cristina Mollica and Luca Tardella

Examples

binary_group_ind(class=c(3,1,5), G=6)

PLMIX

Bayesian Analysis of Finite Mixtures of Plackett-Luce Models for Partial Rankings/Orderings

v2.1.1
GPL (>= 2)
Authors
Cristina Mollica [aut, cre], Luca Tardella [aut]
Initial release
2019-09-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.