Description Usage Arguments Value
View source: R/utility_functions.R
function that takes a vector of betas (which are the main effects) and gammas and converts the alphas to gammas. This function is used to calculate the linear predictor of the likelihood function (the Q function in the fitting algorithm)
1 |
main.effect.names |
character vector of main effects names. MUST be
ordered in the same way as the column names of |
interaction.names |
character vector of interaction names. MUST be
separated by a colon (e.g. x1:x2), AND MUST be
ordered in the same way as the column names of |
betas.and.gammas |
q x 1 data.frame or matrix of betas and gamma
estimates. For example the output from the |
a labelled q x 1 data.frame of betas and alphas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.