Description Usage Arguments See Also Examples
This function constructs interaction terms
1 | construct_ints(x, top_ints, modifier = NULL)
|
x |
matrix of predictors |
top_ints |
|
modifier |
effect modifier |
filter_top
, compute_cors
, and intscreen
1 2 3 4 5 6 7 8 | x <- matrix(rnorm(1000 * 500), ncol = 500)
y <- rnorm(1000)
cormat <- compute_cors(x, y)
int_idx <- filter_top(cormat, nints = 50)
int_mat <- construct_ints(x, ints)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.