createFormulas: Create a set of formulas from combinations of terms in one

View source: R/createFormulas.R

createFormulasR Documentation

Create a set of formulas from combinations of terms in one

Description

Function to create a set formulas from combinations of terms.

Usage

createFormulas(frmla, keep = NULL)

Arguments

frmla
  • base formula to expand

keep
  • NULL, or character vector of terms which must be included in final set

Details

If keep is NULL (the default), then the list of returned formulas includes all possible combinations of terms. If keep is not NULL, then the returned list only includes terms involving those specified in keep.

Value

list of formulas


wStockhausen/wtsUtilities documentation built on Feb. 3, 2025, 6:29 a.m.