contains_nonnumeric | R Documentation |
Returns a logical, whether or not a vector contains any non-numeric characters. Typically used to test if row names hold non-index information.
contains_nonnumeric(x)
x |
A vector to be tested for existence of non-numeric characters. |
Logical, whether or not x contains any non-numeric characters.
Other cheem utility:
as_logical_index()
,
color_scale_of()
,
is_discrete()
,
is_diverging()
,
linear_tform()
,
logistic_tform()
,
problem_type()
,
rnorm_from()
,
sug_basis()
,
sug_manip_var()
library(cheem)
contains_nonnumeric(mtcars$mpg)
contains_nonnumeric(rownames(mtcars)) ## Meaningful info to use in tooltip
contains_nonnumeric(rownames(cars)) ## Assume no meaningful info to use in tooltip
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.