Learn R Programming

visdat (version 0.5.1)

all_numeric: (Internal) Are they all numeric columns?

Description

(Internal) Are they all numeric columns?

Usage

all_numeric(x, ...)

Arguments

x

data.frame

...

optional extra inputs

Value

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

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
all_numeric(airquality) # TRUE
all_numeric(iris) # FALSE
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab