calc_mode | R Documentation |
Calculate the mode of values If the distribution is bi or multimodal or uniform, NA is returned
calc_mode(values)
values |
numeric vector to calculate the mode of |
the mode of the trace
Richèl J.C. Bilderbeek
# In a unimodal distribution, find the value that occurs most
calc_mode(c(1, 2, 2))
calc_mode(c(1, 1, 2))
# For a uniform distribution, NA is returned
tracerer:::calc_mode(c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.