View source: R/utils-validation.R
| validate_equal_length | R Documentation |
Validate that vectors have equal length
validate_equal_length(vec1, vec2, name1 = "vector1", name2 = "vector2")
vec1 |
first vector |
vec2 |
second vector |
name1 |
name of first vector for error messages |
name2 |
name of second vector for error messages |
TRUE if valid, throws error otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.