Learn R Programming

dmbc (version 1.0.3)

dmbc_data-class: An S4 class to represent the data to use in a DMBC model.

Description

An S4 class to represent the data to use in a DMBC model.

Arguments

Slots

diss

A list whose elements are the dissimilarity matrices corresponding to the judgments expressed by the S subjects/raters. These matrices must be defined as a dist object.

n

A length-one character vector representing the number of objects compared by each subject.

S

A length-one numeric vector representing the number of subjects.

family

A length-one character vector representing the type of data to analyze. Currently, it accepts only the 'binomial' value, but future developments will include the possibility to analyze continuous, multinomial and count data.

Author

Sergio Venturini sergio.venturini@unicatt.it

References

Venturini, S., Piccarreta, R. (2021), "A Bayesian Approach for Model-Based Clustering of Several Binary Dissimilarity Matrices: the dmbc Package in R", Journal of Statistical Software, 100, 16, 1--35, <10.18637/jss.v100.i16>.

Examples

Run this code
showClass("dmbc_data")

Run the code above in your browser using DataLab