Nothing
#' Regressors choice based on the inclusion vector
#'
#' The function creates a matrix with regressors that should be included in a specific model
#' based on inclusion vector
#'
#' @param x matrix with regressors
#' @param model_row inclusion vector - row of a model space matrix
#'
#' @return A matrix with regressors to be used in a specific model
#'
#'
subset_design <- function(x, model_row) {
idx <- which(model_row != 0L) # or == 1L
x[, idx, drop = FALSE]
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.