| evaluate_basis_term | R Documentation |
Evaluate a basis function on pooled data and extract attributes
evaluate_basis_term(term, data)
term |
Character string like "ns(age, df=3)" |
data |
Ungrouped data frame |
List with components:
result: The evaluated matrix
attrs: Named list of reproducible attributes
ncol: Number of columns
fn_name: The function name
var_name: The primary variable name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.