same_mode | R Documentation |
same_mode()
tests if two objects have the same
mode
different_mode()
tests if two objects
have different mode
same_mode(x, y)
x |
an R object |
y |
an R object |
same_mode(letters[1:3], "class") # TRUE
same_mode(1:3, "class") # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.