Extracts the antimodes from a copre_result
or seqre_result
object.
antimodes(obj, mean = FALSE, grd = NULL, idx = FALSE)
A matrix of antimodes values in the support of the copre_result
density
A copre_result
or mdp_result
object.
A logical value indicating whether to extract the modes of the mean density of each of the individual sampled density.
For mdpolya_result
, a grid on which to evaluate the object.
A logical value indicating whether to also return the index within
grd
of the discovered modes.