[R] bimodal / trimodal

Ingmar Visser I.Visser at uva.nl
Tue Oct 10 13:31:40 CEST 2006


Hi,
If you want parametric modes you could fit mixtures with different numbers
of components and select the best model with your favourite model-selection
criterion. Various packages such as mclust and fitdistr may be helpful in
doing this, the cluster task view has many more:
http://cran.at.r-project.org/src/contrib/Views/Cluster.html
I am not aware of non-parametric mode testing routines in R, which ones were
you thinking of?
Hth, Ingmar


> From: array chip <arrayprofile at yahoo.com>
> Date: Mon, 9 Oct 2006 14:28:32 -0700 (PDT)
> To: <r-help at stat.math.ethz.ch>
> Subject: [R] bimodal / trimodal
> 
> Hi, is there any package/function that can tell if a
> numeric vector (continuous data) has a bimodal or
> trimodal distribution and caluclate the location of
> the corresponding modes?
> 
> Thanks
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list