View source: R/all_crossterms.R
all_crossterms | R Documentation |
A helper function for 'G_generate' that produces cross-terms.
all_crossterms(Z_i, Z_j, make_sparse = TRUE)
Z_i |
Matrix |
Z_j |
Matrix |
make_sparse |
Boolean for whether to output a sparse matrix. Default is 'TRUE'. |
Matrix of cross-terms between 'Z_i' and 'Z_j'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.