modes | R Documentation |
Extracts the modes from a copre_result
or seqre_result
object.
modes(obj, mean = FALSE, grd = NULL, idx = FALSE, anti = FALSE)
## S3 method for class 'seqre_result'
modes(obj, mean = FALSE, grd = NULL, idx = FALSE, anti = FALSE)
## S3 method for class 'grideval_result'
modes(obj, mean = FALSE, grd = NULL, idx = FALSE, anti = FALSE)
n_modes(obj, mean = FALSE, grd = NULL, anti = FALSE)
obj |
A |
mean |
A logical value indicating whether to count the modes of the mean density of each of the individual sampled density. |
grd |
For |
idx |
A logical value indicating whether to also return the index within
|
anti |
A logical value indicating whether to extract true modes or anti-modes (i.e. local minima of the density function). |
A matrix of modes values in the support of the copre_result
density
modes(seqre_result)
: Mode-counting method for seqre_result
objects.
modes(grideval_result)
: Mode-counting method for grideval_result
objects.
n_modes()
: Counts the modes from a copre_result
or seqre_result
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.