Description Usage Arguments Value References See Also Examples
Compute the mode or modes, from probability distributions.
| 1 2 | 
| sf | A suitable function object. | 
| infv | Logical, if true, return the value of the PMF/PDF at the mode(s). | 
| level.names | Logical, if false, return the category index, if true, return the category name. | 
| freq | Logical, if true, return frequencies. | 
| n | Integer, the sample size. | 
| ... | Ignored. | 
ph.mode returns a single integer or numeric value.
(Except for categorical PMFs with infv=FALSE and level.names=TRUE, which return a string).
ph.modes returns a numeric vector.
Refer to the vignette for an overview, references and better examples.
Succinct Constructors
Discrete Kernel Smoothing, Continuous Kernel Smoothing,
Categorical Distributions, Empirical-Like Distributions
probmv, rng
ph.mean, moment
quartiles, ntiles, ph.median, ph.quantile
| 1 2 3 4 5 6 7 8 9 10 11 12 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.