RprobitB_latent_classes: Create object of class 'RprobitB_latent_classes'.

Description Usage Arguments Value

View source: R/RprobitB_latent_classes.R

Description

This function creates an object of class RprobitB_latent_classes.

Usage

1
RprobitB_latent_classes(latent_classes = NULL)

Arguments

latent_classes

Either NULL or a list of parameters specifying the number and the latent classes:

  • C: The number (greater or equal 1) of latent classes, which is set to 1 per default and is ignored if P_r = 0. If update = TRUE, C equals the initial number of classes.

  • update: A boolean, determining whether to update C. Ignored if P_r = 0. If update = FALSE, all of the following elements are ignored.

  • Cmax: The maximum number of latent classes.

  • buffer: The updating buffer (number of iterations to wait before the next update).

  • epsmin: The threshold weight for removing latent classes (between 0 and 1).

  • epsmax: The threshold weight for splitting latent classes (between 0 and 1).

  • distmin: The threshold difference in means for joining latent classes (non-negative).

Value

An object of class RprobitB_latent_classes.


RprobitB documentation built on Nov. 12, 2021, 5:08 p.m.