attrib.dens: associates to a function of density parameter optimization an...

Description Usage Arguments Details Value Examples

View source: R/attrib.dens.R

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

1
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

1
2
optim.param <- optim.indep.norm
optim.param <- attrib.dens(optim.param)

LCAextend documentation built on May 2, 2019, 2:02 a.m.