View source: R/S03_Utilities.R
term_combo | R Documentation |
Function to help format input to the term_prep function. Initializes the sublist with the parameters for creating a new term by combining other existing terms (e.g., an interaction).
term_combo(combine, label = "", transformation = NULL, scale = NULL)
combine |
A character vector, the names of the terms/variables to combine. Providing a named vector |
label |
An optional label for the new term. |
transformation |
An optional character string
specifying an R expression indicating how terms
should be combined. Variables are matched to the
named elements of |
scale |
Either a logical value, or a named
vector of the form |
A list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.