powered by
A convenience function that returns TRUE if an object either is numeric or can be converted to a number. For data frames, it returns a matrix of the same dimensions as the data frame.
TRUE
is_a_number(x)
An object.
A logical object with the same dimensions as x.
x
# NOT RUN { is_a_number(1.0) is_a_number("1.0") is_a_number("a") ht <- hux(a = 1:3, b = 1:3, add_colnames = TRUE) is_a_number(ht) # }
Run the code above in your browser using DataLab