visdat (version 0.5.3)

all_numeric: (Internal) Are they all numeric columns?

Description

(Internal) Are they all numeric columns?

Usage

all_numeric(x, ...)

Value

logical - TRUE means that there is a column with numerics, FALSE means that there is a column that is not numeric

Arguments

x

data.frame

...

optional extra inputs

Examples

Run this code

if (FALSE) {
all_numeric(airquality) # TRUE
all_numeric(iris) # FALSE
}

Run the code above in your browser using DataCamp Workspace