[R] Peak finding algorithm

2004-12-09 Thread Gene Cutler
I'm sure there must be various peak-finding algorithms out there. Not knowing of any, I have written one myself*, but I thought I'd ask to see what's out there. Basically, I have a 2-dimensional data set and I want to identify local peaks in the data, while ignoring trivial peaks. My naive

Re: [R] Peak finding algorithm

2004-12-09 Thread roger koenker
You might want to look at the ftnonpar package. You haven't quite specified whether you are thinking about estimating densities, or regression functions or some third option, or whether 2-dimensional means: functions R - R or functions R^2 - R, my recollection is that ftnonpar is (mostly?)

RE: [R] Peak finding algorithm

2004-12-09 Thread Liaw, Andy
If you are referring to something similar to LC-MS data, you might want to take a look at the `mscalib' and/or `ppc' packages. I haven't used those, so don't know how relevant they are to what you have in mind. [Searching for `peak' on Prof. Baron's R search site turned up those two packages.]