View source: R/utils_validation.R
Check that two specific list elements have the same vector length
1 | check_same_length(obj, attr1, attr2, err_h, allow_null = FALSE)
|
obj |
The list object, that should be checked |
attr1 |
First attribute to compare length with. |
attr2 |
Second attribute to compare length with. |
err_h |
An error handler. |
allow_null |
A logical, defining whether the argument is allowed to be |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.