View source: R/utils_asserts.R
assert_numeric_cols_avg | R Documentation |
df
are numeric, for use with average trend functionsChecks that columns are numeric in df
, and returns error message specifying that
they must either be numeric or explicitly included in the average_cols
grouping
to be used for averaging.
assert_numeric_cols_avg(cols, df)
cols |
Columns to check |
df |
Data frame with columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.