View source: R/utils_average_trend.R
get_formula_avg_cols | R Documentation |
Pulls out variables not being used for grouping that will be averaged, checks that they are numeric, and returns them.
get_formula_avg_cols(df, formula_vars, average_cols)
df |
Data frame of model data. |
formula_vars |
Variables included in the model formula, generated by
|
average_cols |
Column name(s) of column(s) for use in grouping data for averaging, such as regions. If missing, uses global average of the data for infilling. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.