similar to: Some questions about package "pastecs" and "stats"

Displaying 20 results from an estimated 500 matches similar to: "Some questions about package "pastecs" and "stats""

2010 Jan 06
1
How to get bubbles on times series plot
Hi; lissage<-function(variable) { library(pastecs) ENTREE.ts <- ts(projet$ENTREE) ENTREE.dec <- decaverage(ENTREE.ts, order=variable, sides=2, ends="fill") plot(ENTREE.dec, col=c(1, 4), xlab="temps",ylab="Nombre d'entr?es",main=paste("Moyenne mobile d'ordre ",variable," sous R"), stack=FALSE, resid=FALSE,
2009 May 14
1
corrupted smoothing kernel ?
I am trying to use the "kernel" function. To understand how it works I tried out some of the examples. None of them works as shown in the following: > kernel("daniell", 50) # Error in kernel("daniell", 50) : unused argument(s) (50) > kernel("daniell", 10) # Error in kernel("daniell", 10) : unused argument(s) (10) >
2002 Aug 20
1
Running median
I have a Date x Stock (223 x 520) matrix of "trading volume". I can calculate a 5-day (past) average in about 1 second using: R> apply(vol, 1, filter, filter=c(0, rep(1/5,5)), sides=1) I would like to do the same with a 5-day median, e.g.: R> mymed <- function(x, n=5) { R> r <- rep(NA, length(x)) R> for (i in (n+1):length(x)) r[i] <- median(x[i-(1:n)]) R>
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
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
2004 Mar 19
1
date conversions in pastecs
In function daystoyears in package pastecs, I get this (wrong?) result with 1995: > daystoyears(1,datemin="1/1/1997",dateformat="m/d/Y") 1997.001 > daystoyears(1,datemin="1/1/1995",dateformat="m/d/Y") 1994.999 Any insights? Thanks Angel
2006 Oct 27
0
problem with applying regul function (pastecs)
Hi, I'm trying to analyse some time series data on dissolved organic nitrogen. Because it has gaps in it, I try to interpolate (linear) with the regul method from the pastecs package. I have a number of stations with measurement series in a matrix constructed from a data frame with the unstack method (temp) I also used the unstack method to make a similar matrix for the time points
1999 Jul 27
3
Preliminary version of ts package
There is now a preliminary version of a time series package in the R-devel snapshots, and we would welcome feedback on it. It is based in part on the packages bats (Martyn Plummer) and tseries (Adrian Trapletti) and in part on code I had or have written. (Thanks for the contributions, Martyn and Adrian!) Some of the existing ts code has been changed, for example to plot multiple time series, so
2009 Sep 16
1
Registration
Hi, I have a question to post. But I have a problem finding the appropriate forum. Some of the FAQ on pastecs are answered by R-help@stat.math.ethz.chmailing list. I searched to see if this mailing list requires registration or not. There was no information about that. I am a registered member of R- help general mailing list but I am aware it is better to post my question to a specific group in
2002 Jul 01
1
GUIs (for teaching)
Sorry for entering late in the thread, but I was absent last week. I am developping an alternate GUI for R (and also Splus, Octave, Scilab, Matlab, Ox & Mathematica). The project started 3 years ago, but it is progressing slowly, since I am currently the only developer on the project and had to do it during my extra time. Now, it is going a little faster because I got some time and money
2013 Apr 24
2
How to make a raster image in R from my own data set
Hi R-user, I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale. I could make it in GIS software but I do have many variables (to be many raster images) and ultimately I am importing them
2013 Apr 25
0
creating raster image in R
Hi R-User I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale. I could make it in the GIS software but I do have many variables (to be many raster images) and ultimately I am
2008 Mar 07
2
Irregular Time Series Issue
Hello, I have an irregular time series of the form : Time Data Time1 Data1 .... 1 b 1 e 7 g 4 i NA NA 5 k NA NA NA NA ... (the columns have varying length of NAs after a certain point) Converting this to regular time series with Pastecs does not seem to work, when I see the entire data as a single series. So I remove
2007 Dec 27
1
[LLVMdev] Reverse engineering in LLVM
Hello, LLVMers. I am trying to restore the original HL code from LLVM IR (kinda reverse engineering). There are two main issues for that, control-flow analysis and data-flow analysis. (Thanks to your suggestsions) I have good refereces about the control-flow analysis for structuring conditionals, loops and so on. However, I have no good idea about data-flow analysis, especially on PHI-functions.
2009 Sep 16
2
Turnpoints
Good evening to everybody. I have a data of four columns - three of the columns represent date while the fourth is counts. Setting 4000 as my minimum point/value, I wish to find out the number of counts that are less or equal to 4000 and the dates they occur. I have installed pastecs and have been trying to use turnpoints function to do this. I have not been much lucky. I am a still learning. I
2012 Dec 20
2
how to make a table of summary statistics
Dear R-listers, I am a newbie with R and I am struggling with something I consider very basic. I wish to produce a table (to import in a latex file) of summary statistics, but for as much as I've been looking around and trying various alternatives (plyr, reporttools, pastecs and Hmisc) I haven't found what I am looking for. Probably I am doing something wrong, but I can't figure out
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
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
2009 Jul 13
1
Times series adjustment
Dear all, I want make correction depth of a bathymetric data set. To do so, I have the depth data set sample every second (a depth at each second) in one hand, and in the other hand, I have a tide variation level data set sample every 250 ms. The time register in each data sets (tide and bathymetric) is express in seconds followinf this format : hh:mm:ss.ss I would like to rectify the depth
2004 Mar 22
1
another date conversion
Dear R People Here is an interesting problem: > library(pastecs) > a <- 1:100 > b <- daystoyears(a,datemin="1/1/2003",dateformat="m/d/Y") > b [1] 2002.999 2003.002 2003.005 2003.008 2003.010 2003.013 2003.016 2003.018 2003.021 2003.024 2003.027 2003.029 2003.032 [14] 2003.035 2003.038 2003.040 2003.043 2003.046 2003.049 2003.051 2003.054 2003.057 2003.060