attrib.dens {LCAextend} | R Documentation |
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. |
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.
Value
The function returns the same optim.param
with an attribute type
taking values in ordi
or norm
.
Examples
optim.param <- optim.indep.norm
optim.param <- attrib.dens(optim.param)