| format_interaction_term | R Documentation |
Converts R's internal interaction term format (e.g., "treatmentDrug A:stageII") to a more readable format (e.g., "Treatment (Drug A) × Stage (II)").
format_interaction_term(term, labels = NULL)
term |
Character string of the interaction term from model coefficients. |
labels |
Optional named vector of labels for variable names. |
Formatted interaction term string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.