is_2fac | R Documentation |
Detect if two vetors are both factors (or characters).
is_2fac(x, y)
x |
A vector. |
y |
A vector. |
A logical value.
is_2fac(as.factor(mtcars$cyl), as.factor(mtcars$gear))
is_2fac(as.character(mtcars$cyl), as.character(mtcars$gear))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.