expand_interactions {AHM} | R Documentation |
Expand the interaction terms for each subset group, say x11, x12, or c1, c2, c3
Description
Expand the interaction terms for each subset group, say x11, x12, or c1, c2, c3
Usage
expand_interactions(dat, sel_names)
Arguments
dat |
data frame |
sel_names |
characters |
Examples
data("pringles_fat")
data_fat = pringles_fat
h_tmp = 1.3
x = data_fat[,c("c1","c2","c3","x11","x12","x21","x22")]
expand_interactions (dat=x, sel_names=c("c1", "c2", "c3"))
[Package AHM version 1.0.1 Index]