| extract_basis_variable | R Documentation |
Extract the primary variable from a basis function call
extract_basis_variable(term)
term |
Character string like "ns(age, df=3)" or "poly(x, degree=2)" |
Character string of the variable name (e.g., "age", "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.