Description Usage Arguments Details Value Author(s) Examples
Returns the number of unique occurrences of each level in the input object.
1 | nunique(x)
|
x |
Numeric, character of factor vector |
Provides a convenient way to calculate the unique occurrences of certain events in daily, hourly, weekly and monthly data e.g. calculate the number of unique animals that have used the feeding throughs each hour in dataset RIC (see examples).
Number of unique levels in the input object.
Matti Pastell <matti.pastell@helsinki.fi>
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.