R/gdina_mstep_item_ml_update_parameter_regularization.R

Defines functions gdina_mstep_item_ml_update_parameter_regularization

## File Name: gdina_mstep_item_ml_update_parameter_regularization.R
## File Version: 0.23


gdina_mstep_item_ml_update_parameter_regularization <- function(x, regular_type, regular_lam,
        regular_alpha, regular_tau, vt=1)
{
    x <- x*vt
    y <- cdm_parameter_regularization(x=x, regular_type=regular_type, regular_lam=regular_lam,
                regular_alpha=regular_alpha, regular_tau=regular_tau )
    y <- y / vt
    return(y)
}

Try the CDM package in your browser

Any scripts or data that you put into this service are public.

CDM documentation built on Aug. 25, 2022, 5:08 p.m.