Displaying 16 results from an estimated 16 matches similar to: "Turnpoints"
2009 Sep 17
1
Turning points in a series
Good morning once more. My problem of yesterday has been addressed. Having
learned a few tricks from that, I wish to ask another question in connection
with that. My data is a cosmic ray data consisting of dates and counts. When
I plot a graph of counts versus dates, the resultant signal shows a number
of maximum and minimum points. These minimum points (turning points) are of
interest to me.
2009 Sep 18
1
Help a newbie
Hello,
To me as a beginner, every problem looks big. Below is what I was asked to
do as part of a code that will solve my problem. I have used read.table to
read my data into R and assigned the column names with colnames(dat)<- ... .
But to go from txt<-" to the last " at the bottom of the table below is what
I am unable to do. Could anybody please tell me how to type or arrive at
2005 May 16
0
Turnpoints (pastecs): How to specify a limit on the number of tur npoints?
Hello,
I'm trying to get a few turnpoints for a financial time series. There is a
function in pastecs that does that. However, I get a large number of
turnpoints:
library(pastecs)
data(EuStockMarkets)
dax <-EuStockMarkets[,1]
plot(dax)
turnp <-turnpoints(dax)
summary(turnp) #gives 925 peaks/pits!!!
How can specify to get only 30 turnpoints?
Second question: the extract function
2003 Jan 03
0
RE: stange behavior of subset [] (was: lowess + turnpoints = doubling integers?)
Tom Blackwell wrote:
>...
>I summarized this to myself as "computed subscripts need explicit
>rounding in R, but not in S". Here's the sample code which gave
>me different results with R than with Splus. I no longer have
>Splus available, so I can't check it again.
>look <- (10 * seq(14)) - 76
>chk.1 <- seq(1420)[ 10 * (73.1 + look) ] #
2002 Dec 29
3
lowess + turnpoints = doubling integers?
Happy New Year, r-helpers!
I am using lowess to smooth a scatter plot,
xx<-lowess(xinput,f=.04) #defaults for other args
followed by
turnpoints(xx$y) #defaults for other args
I plot the smoothed result as well as turnpoints (using yy$tppos) on top of raw
data plot.
Result is exactly as expected, graphically.
For another purpose, I calcuate the difference between turnpoints (representing
2007 Nov 19
0
Using density() and turnpoint to Identify maxima in data
Hi
I have a large dataset which follows a multimodal distribution. And I
would like to identify the maxima. As the data is obtained from a
stochastic simulation, not all maxima in the data are "real maxima of
the dirstribution" but rather small random fluctuations. Unfortunately,
it is not possible for me to run more simulations to smooth the obtained
distribution.
What I am doing
2009 Oct 07
3
two plots on the same axis
Good morning. I wish to plot two data on the same axis. I tried plot(x,y,
type = "l") for the first and tried to use lines or points(x,y, lty = 2, col
= 4) to add or plot the second data on alongside the first. However, what I
got was not encouraging.
I have attached the two data and would be pleased if anybody could be of
help.
Thank you
Best regards
Ogbos
-------------- next part
2006 Mar 15
1
Additional arguments in S3 method produces a warning
Hello,
I just notice this:
> x <- c(1:4,0:5, 4, 11)
> library(pastecs)
Loading required package: boot
> tp <- turnpoints(x)
> extract(tp, no.tp = FALSE, peak = TRUE, pit = FALSE)
[1] FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE
FALSE
Warning message:
arguments after the first two are ignored in: UseMethod("extract", e, n,
...)
>
2011 Jan 04
1
function masking and gmp questions
Hi,
Here's the problem I ran into: the gmp package has a method for apply()
so it masks the base::apply function. With gmp installed, I tried to
run the function turnpoints() from the pastecs package. It fails
because it calls apply() internally, like this:
apply(mymatrix,1,max,na.rm=TRUE)
,
but the code in the gmp package which sets up the operator overload for
apply() strictly
2007 May 23
1
Question concerning "pastecs" package
Hi
I just installed the pastecs package and I am wondering: is there an
english (or german) translation of the file pastecs.pdf? If not, is
there an explanation somewhere of the object of type 'turnpoints' as a
result of turnpoints(), especially the "info" field?
Thanks,
Rainer
--
NEW EMAIL ADDRESS AND ADDRESS:
Rainer.Krug at uct.ac.za
RKrug at sun.ac.za WILL BE
2002 Jul 26
5
Is there a function for finding local extrema.
I have a vector with about 100.000 values representing a quite regular
function (sinusoid like).
I would like to find all local maxima of this function (should be about
4000). Is there a native routine for R?
Thanks in advance
Eryk.
--
_|_ \|/ \|/ Eryk Witold Wolski tel :0049-(0)30-8413-1543 w w
?v? 'v? \'v'/ MPI Moleculare Genetik fax :0049-(0)30-8413-1139 |
2004 Jun 18
2
[Q] Newbie (continued.. at least I got R running allready :-)
Hi all
a week ago, I posted a newbie question in data smoothing &
maximum-extraction with R. I got quite a lot of response, but I'm still
kinda stuck with it...
I'll restate the problem : i got a datafile with 2400 measuerements (every
250msec) of a CO2 measurement device, capturing the breath of a subject. I
uploaded such a sample here :
2010 Dec 14
3
peak detection
Hi,
I was wondering if anyone knows of a package that contains the ability
for peak/valley detection. Here is an example of what I'm looking for,
only problem is that it's written in Matlab.
http://www.billauer.co.il/peakdet.html
Thanks for any help in advance.
-Joe
2006 Mar 15
3
which.minimums not which.min
Hi
Is there a function which determines the location, i.e., index of the all minimums or maximums of a numeric vector.
Which.min(x) only finds the (first) of such.
> x <- c(1:4,0:5, 4, 11)
> x
[1] 1 2 3 4 0 1 2 3 4 5 4 11
> which.min(x)
[1] 5
> which.max(x)
[1] 11
>
but I need
which.min(x) to be 5 11
which.max(x) to be 4 10
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
2002 Nov 08
0
cusaddsmb and setdriver
hi,
my boxes: RH 8.0
with samba2.2.6-2 and cups 1.1.15-10
samba runs ok and cups runs ok.I putted Adobe Postscript Printer in
/usr/share/cups/drivers.
And when I want to export my Cups Printer with cupsaddsmb, this what it
happens:
[root@bouffon sbin]# cupsaddsmb -H bouffon -U DOMAINNAME\\root -h bouffon -v
infolpPassword for DOMAINNAME\root required to access bouffon via SAMBA:
Running