powered by
(Internal) Are they all numeric columns?
all_numeric(x, ...)
data.frame
optional extra inputs
logical - TRUE means that there is a column with numerics, FALSE means that there is a column that is not numeric
# NOT RUN { # } # NOT RUN { all_numeric(airquality) # TRUE all_numeric(iris) # FALSE # } # NOT RUN { # }
Run the code above in your browser using DataLab