vectors_same_length | R Documentation |
Checks if two vectors are of the exact same length.
vectors_same_length(v1, v2)
v1 |
the first vector |
v2 |
the first vector |
## Not run:
# For assertion
assertthat::assert_that(qscheck::vectors_same_length(v1, v2))
# For check
if (qscheck::vectors_same_length(v1, v2)) {}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.