assert_numeric_cols_avg: Assert columns in 'df' are numeric, for use with average...

View source: R/utils_asserts.R

assert_numeric_cols_avgR Documentation

Assert columns in df are numeric, for use with average trend functions

Description

Checks 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.

Usage

assert_numeric_cols_avg(cols, df)

Arguments

cols

Columns to check

df

Data frame with columns


caldwellst/augury documentation built on Oct. 10, 2024, 8:20 a.m.