similar to: R equivalent of Splus peaks() function?

Displaying 20 results from an estimated 200 matches similar to: "R equivalent of Splus peaks() function?"

2002 May 28
2
peaks
I am looking for a function in R that is equivalent to the function "peaks" in Splus. This function gives the local maxima of a vector. I do not find it using the help and I 'm not sure it exits in R. Could someone help me ? Thanks, Herve Cardot -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 Nov 05
1
fast nearest-neighbor in R?
Is fast nearest-neighbor functionality available in R? I was thinking of something along the lines of what's currently in S+SPATIALSTATS. Thanks for any information anyone might have on this. - MZ
2001 Jun 15
1
R equivalent for Splus "peaks"
Hi, all. Does anyone have an equivalent to Splus "peaks", which finds local maxima (with locality defined by a parameter "span")? I thought I'd check whether anyone has done it already before trying to put something together myself. Thanks, Matt Wiener -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2007 Feb 08
1
Suggestion about "R equivalent of Splus peaks() function"
In 2004 there was this R-Help posting from Jan 2004: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/33097.html R equivalent of Splus peaks() function? The peaks function there has worked well for me on a couple of projects, but some code using "peaks" failed today, which had worked fine in the past. I was looking for a peak in a test case that was a sine curve over one
2011 Feb 18
1
Find peaks in dataset(x,y) and area for each peak
http://r.789695.n4.nabble.com/file/n3312061/x_and_y_values.txt x_and_y_values.txt I have the absorbance values form HPLC Chromatogram. I need to find the peaks in datapoints and area under each peak. I am not sure how how to find the peaks, I tried couple of libraries and peak function but they return me a list of values which when computed from area turns out to be huge nnumbers. In the
2010 Mar 24
0
package "wmtsa": how to set up the Tolerance vector to detect time series peaks blindly
In my previous experience with wmtsa function wavCWTPeaks I realized the Tolerance vector passed to the multi-scale decomposition function "wavCWTTree" is crucial for detecting the time series extrema and prevent the R script from aborting. By trial & error I recently managed to figure out the Tolerance vector values in a single case (please see attachments). I am looking for some
2012 Sep 17
2
Slightly OT: Red Hat vs Twin Peaks
Interesting story at Groklaw...just thought I would share: http://www.groklaw.net/article.php?story=20120913073511444 -- _ ?v? /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 www.counter.li.org ****
2009 Oct 07
1
inconsistency in return value of peaks() {splus2R} (PR#13988)
Full_Name: Benny van der Vijgh Version: 2.7.2 OS: Windows Vista Submission from: (NULL) (194.171.252.108) The return value of peaks() in package splus2R is not consistent. This is because of the call to max.col() without additional parameters which peaks() makes. max.col() has a parameter 'ties.method' which specifies how ties are handled, with "random" by default. This means
2002 Oct 16
0
peaks
On 15 Oct 2002 at 18:09, Rieckermann Joerg wrote: > Dear Petr, > > I have been fooling around with this peaks function of yours/Ripley > and don't seem to get the main idea. > > What I intend to do is locate the peaks in a vector and later use thes > values. So the position of the peaks would be of great interest. > > My questions: > * Why does peak retunr a
2004 Jun 24
1
Can R handle twin peaks - normal distribution
Hi R Users, Sorry if its out of topic. I would like to ask you about twin peaks - normal distribution. How R can handle it, any example to explain it in R. Thanks, regards, Unung
2006 Jan 04
1
Selecting significant peaks in periodograms
Greetings all, I am using Fourier analysis to search for periodicities in IP network traffic by generating periodograms and then visually examining them for large, distinct peaks. However, in many cases it is not readily apparent where there are periodicities. I have no experience with discrete maths so I've come up against a block here: How do I define what the "noise floor"
2007 May 31
0
distribution of peaks in random data results
Dear all, I have the positions of N points spread through some sequence of length L (L>N), and I would like to know how can do the following: 1- Permute the positions of the N points along the whole sequence. Assuming a uniform distribution I did: position1 <- runif(N, 1, L) 2- Apply a kernel convolution method to the resulting permuted points profile. For this I applied the
2011 May 25
0
approximate function and find local peaks (Maxima or Minima)
Hi, I have a data-matrix: > CB                    Zeit                Low 2   2011-05-02 08:05:05 7596.0 3   2011-05-02 08:10:06 7593.5 4   2011-05-02 08:15:11 7594.5 5   2011-05-02 08:20:15 7597.5 6   2011-05-02 08:25:18 7595.0 7   2011-05-02 08:30:20 7593.5 8   2011-05-02 08:35:21 7593.0 9   2011-05-02 08:40:21 7593.0 10  2011-05-02 08:45:25 7599.0 11  2011-05-02 08:50:34 7596.0 12 
2006 Mar 15
2
(unexplicable) peaks of machine load
I have strange peaks of machine load on my asterisk servers, looking at top the load is very high even if cpu usage is low and no swap memory is used. This happens on all the machines, some of them have asterisk, mysql, agi and digium cards on them, so I thought I was only asking too much, but yesterday I noticed the same behaviour on an asterisk machine with only two digium in it, no other
2001 May 29
2
Using "R" to find peaks in sampled data
This is probably a trivial question, but I did not see it in the FAQs. Perhaps I simply need to be pointed to some URLs. In any case, I have some sampled data that has peaks, and I would like to extract peak height, location, and width, according to almost any statistical model. Gaussian would seem to make the most sense. There can also be "steps" increasing the amplitude over a
2006 Jul 15
1
Find peaks in histograms / Analysis of cumulative frequency
Hello all, I have some histograms of amount of DNA in some cells (DU145 cells overexpressing Bax and Bcl-xL for those who wish to know). The histograms show not only two peaks as expected, but three, indicating that some cells have more than normal amounts of DNA. I am interested in knowing how much of the cell populations are in each peak as well as between. I am not really sure how to go
2010 Dec 23
1
Finding flat-topped "peaks" in simple data set
Hello, Thank you to all those great folks that have helped me in the past (especially Dennis Murphy). I have a new challenge. I often generate time-series data sets that look like the one below, with a variable ("Phase") which has a series of flat-topped peaks (sample data below with 5 "peaks"). I would like to calculate the phase value for each peak. It would be great to
2013 Aug 29
1
Problem with "Peaks" package - followup…
Hi, I apologize for not following the posting rules? Here is the text from my previous post: "I started evaluating the 'Peaks' package a couple of months ago and found it to be quite useful. Getting back to it last week I had to set up my R environment due to hardware changes again. The Peaks package loads with no problem. After successfully reinstalling all packages (RedHat
2007 Oct 13
2
How to identify the two largest peaks in a trimodal distribution
Hello all I'm trying to do a simulation that involves identifying the minimum point between two peaks of a (usually) bimodal distribution. I can do this easily if there are only two peaks: CnBdens<-density(Ys/Xs) #probability density function for ratio of Ys to Xs for(p in 1:512) ifelse(CnBdens$y[p]>CnBdens$y[p-1],peak1<-p,break) #identifies first peak in probability
2006 Jul 24
3
Identifying peaks (or offsets) in a time series
Dear R-users, We are monitoring the activity of animals during a few days period. The data from each animal (crossing of infra-red beam) are collected as a time series (in 30 min bins). An example is attached below. y <- c(0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,28,27,46,76,77,60,19,35,55,59,48 ,87,20,38,82,62,60,85,105,69,109,102,100,101,116,126,119,63,27,25,15,8,0