add_models | R Documentation |
Add models to a data.frame
add_models(
input_df,
var_order,
model_subset = NULL,
model_remove = NULL,
model_add = NULL,
verbose = TRUE
)
input_df |
Data.frame with at least three columns. values
contains the actual values. variables contains the variable belonging
of the values. |
var_order |
Character value. The variable that corresponds to the order of the values. |
model_subset |
Character value. Used as a regex to subset models.
Use |
model_remove |
Character value. Used as a regex to remove models are not supposed to be included. |
model_add |
Named list. Every slot in the list must be either a formula
containing a function that takes a numeric vector as input and returns a numeric
vector with the same length as its input vector. Or a numeric vector with the
same length as the input vector. Test models with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.