Description Usage Arguments Examples
View source: R/hello.R View source: R/misc_functions.R
same(x) is a simple function to check if all of the elements of a vector are equal. NA's are ignored using na.omit().
1 | same(x)
|
x |
Vector to be tested. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.