Skip to content
Prev 44817 / 398506 Next

Computing the mode

Forgive me for not following the "posting guidelines" and posting 
before doing my homework!  I checked CRAN website and found that there 
is a package developed by Davies and Kovac, called "ftnonpar" that 
implements the "taut spring" approach that I mentioned in my previous 
posting. 

# For example:
library(ftnonpar)
plot(dclaw(seq(-3,3,len=1000)),type="l")
xx <- rclaw(500)
pmden(xx,verbose=T)

Best,
Ravi.

----- Original Message -----
From: Ravi Varadhan <rvaradha at jhsph.edu>
Date: Tuesday, February 24, 2004 4:23 pm
Subject: Re: [R] Computing the mode