Learn R Programming

volker (version 3.1.0)

check_is_numeric: Check whether a column selection is numeric

Description

Check whether a column selection is numeric

Usage

check_is_numeric(data, cols, msg = NULL)

Value

boolean Whether the columns are numeric.

Arguments

data

A data frame.

cols

A tidyselection of columns.

msg

A custom error message if the check fails.