get_formula_rhs | R Documentation |
This function extracts the right-hand side (RHS) of a formula and returns it as a character string.
Optionally, it can include a tilde (~
) at the beginning of the RHS.
get_formula_rhs(formula, with_tilde = FALSE)
formula |
A formula object from which to extract the RHS. |
with_tilde |
Logical, indicating whether to include a tilde ( |
A character string representing the right-hand side of the formula. If with_tilde
is TRUE
,
the string includes a leading tilde.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.