Learn R Programming

Rmixmod (version 2.1.10)

Mixmod-class: Constructor of [Mixmod] class

Description

This is a class to run mixmod library.

Arguments

Details

data

numeric vector or a data frame of observations. Can be qualitative,quantitative or both(heterogeneous)

dataType

character. Type of data. It defines whether data is quantitative, qualitative or composite

nbCluster

integer. It indicates the number of classes.

knownLabels

numeric. It contains the known labels.

weight

numeric vector with n (number of individuals) rows. Weight is optional. This option is to be used when weight is associated to the data.

nbVariable

integer. The number of variables.

nbSample

integer. The number of observations.

criterion

list of character. This option permits to select the criterion giving the best configuration of an execution.

models

a S4 [Model] object. Defining the list of models to be tested.

error

logical. Say if at least one model finished with no error in MIXMOD.

results

a list of S4 [MixmodResults] object containing all results. Results are sorted into a ascending order according to the first criterion (descending order for the CV criterion). This order can be changed by using the sortByCriterion() method.

Examples

Run this code
getSlots("Mixmod")

Run the code above in your browser using DataLab