Description Usage Arguments Value Note
View source: R/utility_functions.R
function used to calculate working X's (xtilde) in step 4 of algorithm
1 2 | xtilde_mod(interaction.names, data.main.effects, beta.main.effects,
gamma.interaction.effects)
|
interaction.names |
character vector of interaction names. must be separated by a ':' (e.g. x1:x2) |
data.main.effects |
data frame or matrix containing the main effects data |
beta.main.effects |
data frame or matrix containing the coefficients of main effects |
gamma.interaction.effects |
data frame or matrix containing the gamma parameters |
matrix of working X's (xtilde) of dimension n x (p*(p-1)/2)
this function is a modified x_tilde for step 4 because we thought maybe there was a typo. Math and results suggests that there is a typo in the original paper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.