Description Usage Arguments Value Examples
Check whether a vector, x, has all its entries equal to its first entry
1 |
x |
a vector |
a logical indicating whether all vector entries are the same
1 2 3 4 | x <- 1:5
check_identical(x)
y <- rep(1, 5)
check_identical(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.