Description Usage Arguments Value Examples
Confirm that all input vectors are the same length.
1 |
... |
Two or more vectors to be compared. |
Returns an error if the vectors are of unequal length, returns a warning if only one vector is supplied, and returns nothing if the vectors are of equal length.
1 2 3 | ## Not run: equal.lengths(rnorm(10), rnorm(10), rnorm(9))
## Not run: equal.lengths(rnorm(10))
## Not run: equal.lengths(rnorm(10), rnorm(10), rnorm(10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.