Description Usage Arguments Details Value Author(s) See Also Examples
Computes the mode (and “antimode”) of a distribution. It is not
clear whether this is a generally useful statistic, but
bedtools
defined it, so we did for completeness.
1 |
x |
The vector for which the mode is computed. |
anti |
Whether to return the value with the least representation, instead of the highest. |
There are methods for List subclasses and ordinary vectors/factors. The List methods are useful for aggregation.
The value that is the most (or least) prevalent in the x
.
Michael Lawrence
Not to be confused with the data mode
of a vector.
bedtools_map
for an example in the context of aggregation.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.