| isSameLength | R Documentation |
Check if objects are of same length
isSameLength(...)
... |
Objects to compare. |
# compare length of only 2 objects
isSameLength(mtcars, ToothGrowth) # FALSE
isSameLength(cars, BOD) # TRUE
# or more number of objects
isSameLength(c(1, 2), c(TRUE, FALSE), c("x", "y")) # TRUE
isSameLength(list(1, 2), list(TRUE, FALSE), list("x")) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.