Learn R Programming

LCAextend (version 1.3)

attrib.dens: associates to a function of density parameter optimization an attribute to distinguish between ordinal and normal cases

Description

associates to a function of density parameter optimization an attribute to distinguish between ordinal and normal cases. This is an internal function not meant to be called by the user.

Usage

attrib.dens(optim.param)

Arguments

optim.param

the function used to estimate the parameters of the measurements.

Value

The function returns the same optim.param with an attribute type taking values in ordi or norm.

Details

Available optim.param functions are optim.noconst.ordi, optim.const.ordi for ordinal measurements and optim.indep.norm, optim.diff.norm, optim.equal.norm and optim.gene.norm for multinormal measurements. The attribution uses the internal function attr and the attribute name used is type. The user can make his own optima.param function and has to associate an attribute type to it to be used instead of the available ones.

Examples

Run this code
# NOT RUN {
optim.param <- optim.indep.norm
optim.param <- attrib.dens(optim.param)
# }

Run the code above in your browser using DataLab