Description Usage Arguments Value Examples
Function to check that a vectors in a list are of the same length
1 | check_equal_dim(list_of_vectors)
|
list_of_vectors |
list with elements that are vectors |
boolean value: TRUE if all vectors in list are the same length, FALSE otherwise
1 2 | check_equal_dim(list(c(0,1,2), c(0,1))) # FALSE
check_equal_dim(list(c(0,1,2), c(0,1,2))) # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.