Function to get all possible combinations for a set of covariates.
Number of covariates (or covariate groups).
This function takes a number (
k) and then outputs a matrix with every
row depicting one unique combination of covariates. This function is used for
mfit, where every possible combination of covariates as
explanatory variables is computed and then used for fitting all possible
models. This function is then further used for creating model names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.