log_density_binom: Calculate de log density of a binomial

Description Usage Arguments Value

View source: R/log_density_binom.R

Description

Calculate de log density of a binomial

Usage

1
log_density_binom(y, matrix_id, b_hk, k, var_weights)

Arguments

y

A dataframe corresponding to a specific id levels from col_id

matrix_id

A design matrix corresponding to a specific id levels from col_id

b_hk

A matrix of estimated beta

k

A numeric value to select the beta from a specific cluster

var_weights

A character value corresponding to the weights variable

Value

res A numeric value


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