update_z: M-step : Update the matrix of working variables Z from beta...

Description Usage Arguments Value

View source: R/update_z.R

Description

M-step : Update the matrix of working variables Z from beta iterative equation

Usage

1
update_z(df, col_id = "id", target, beta_up, df_id, matrix_id)

Arguments

df

A dataframe

col_id

A character value corresponding to id column name

target

A character value corresponding to the target variable

beta_up

A matrix of estimated beta in a specific cluster k

df_id

A list of dataframe filter by id levels

matrix_id

A list of design matrices filter by id levels

Value

work_z An up-to-date matrix of working variables Z


binomialMix documentation built on March 23, 2020, 5:09 p.m.