update_m {RprobitB} | R Documentation |
Update class sizes
Description
This function updates the class size vector.
Usage
update_m(C, z, nozero)
Arguments
C |
The number (greater or equal 1) of latent classes of decision makers.
Set to |
z |
The vector of the allocation variables of length |
nozero |
If |
Value
An updated class size vector.
Examples
update_m(C = 3, z = c(1,1,1,2,2,3), FALSE)
[Package RprobitB version 1.1.4 Index]