Description Usage Arguments Value Examples
A function that calulate mean or take unique elements of a vector.
1 | meanUnique(x)
|
x |
a vector |
If x is numeric, returns the mean. Otherwise, returns the unique elements of x.
1 2 3 4 | x <- 1:5
meanUnique(x)
x=c("a","a","b")
meanUnique(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.