Displaying 20 results from an estimated 44 matches for "pastecs".
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 AD...
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
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
extrac...
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 (time)
Now I have two matrices with the names of the stations as column
headers. T...
2009 May 17
0
Some questions about package "pastecs" and "stats"
...the trend (the residual is a trend-free signal)?
For instance, a package implementing SSA, sometimes enters an endless loop. It keeps detecting trend in the residual signal
no matter how many times the removing procedure is run and the signal reconstructed.
3. Question about package "pastecs":
Are there any criteria helping with the choice of proper values for parameters "order", "times" , "type" for functions
"decaverage" and "decmedian" ?
4. Question about package "stats":
Are there any criteria helping wi...
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 some cases....
2013 Apr 24
2
How to make a raster image in R from my own data set
...install.packages("rgdal", dependencies=TRUE)
library(rgdal) # input/output, projections
install.packages("rgeos", dependencies=TRUE)
library(rgeos) # geometry ops
install.packages("spdep", dependencies=TRUE)
library(spdep) # spatial dependence
install.packages("pastecs", dependencies=TRUE)
library(pastecs)
pts<-read.table.url("https://www.betydb.org//miscanthusyield.csv", header=T, sep=",")
proj4string(pts)=<- CRS("+proj=longlat +datum=WGS84")
#---------------------------------------------------------------------------
Ch...
2008 Mar 07
2
Irregular Time Series Issue
...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 the NAs and deal with one
series at a time in a loop.
Any suggestions ?
Thanks
A. Mani
--
A. Mani
Member, Cal. Math. Soc
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 have added part of my data here where y
stands for year, m month, d day and lastly the count.
I would be grateful to anyone who could show me the way the do this.
Best regards
Ogbos
y...
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
what.
Let's make up three simple variables:
var1 <- runif(1000)
var2 <- runif(1000)
var3 <- factor(rep(1:2, 500), labels = c("m", "f"))
and let...
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 200...
2002 Jul 01
1
GUIs (for teaching)
...ger will be called
SciViews Xchanger. Here is the development schedule, based on the part of my
work dedicated to the development of this GUI:
+ Augustus and September 2002: 6 to 7 weeks dedicated 100% to the GUI
(Insighter), in the framework of the development of a friendly user
interface for the PASTECS R library (Package for the Analysis of Space-Time
Ecological Series, available on CRAN and at
http://www.sciviews.org/pastecs).
+ December 2002: an additional month for PASTECS, but not allocated yet
between the development of functions, or of the user interface.
+ January to March 2003: about 30...
2007 Jan 02
6
package dependency tree
Is there a painless way to find the names of all packages on CRAN
that "Depend" on a specified package?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
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...
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 limits the arguments to the first three (a matrix, a
dimension, and a function). I get, no surprise:...
2013 Apr 25
0
creating raster image in R
...install.packages("rgdal", dependencies=TRUE)
library(rgdal) # input/output, projections
install.packages("rgeos", dependencies=TRUE)
library(rgeos) # geometry ops
install.packages("spdep", dependencies=TRUE)
library(spdep) # spatial dependence
install.packages("pastecs", dependencies=TRUE)
library(pastecs)
pts<-read.table.url("https://www.betydb.org//miscanthusyield.csv", header=T, sep=",")
proj4string(pts)=<- CRS("+proj=longlat +datum=WGS84")
after that, what I am supposed to do for creating a raster map? any suggestions...
2009 Sep 18
1
Help a newbie
...3953.4
93 02 22 3857.3
93 02 23 3848.3
93 02 24 3869.8
93 02 25 3898.1
93 02 26 3920.5
93 02 27 3936.7
93 02 28 3931.9
"
con <- textConnection(txt)
dat <- read.table(con, header = TRUE)
close(con)
dat$date <- as.Date(paste(dat$y, dat$m, dat$d), format = "%y %m %d")
library(pastecs)
tp <- turnpoints(dat$count)
[[alternative HTML version deleted]]
2005 Nov 24
1
spatial-time smoothing
Hi all,
I'm looking for to interpolate hourly temperature date collected from more
than 140 automatic weather station (irregularly spaced) using 4 independent
variable:
1-2) geografic coordinates (x,y) (from DEM - 40m)
3) altitude (z) (from DEM - 40m)
4) solar radiation (from a model calculated with grass: r.sun)
In addition, I would like to use also "time" variable (e.g.: hours).
2002 Mar 15
1
creating time series from existing data
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is it possible to create a time series from existing data frame? One
column of that frame contains dates (like "01/01/01") and the second one
the values. The period is non-regular (it is not strictly daily nor
working-days-daily).
Thank you.
lukas
- --
Lukas Kubin
lukas.kubin at permonik.com
phone: 00420603836180
-----BEGIN PGP
2009 Jul 13
1
Times series adjustment
...de 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 (bathymetry) by substrating the tide
at each depth time.
I tried to construct time series using pastecs package but didn't succed
Example of the tide data set:
Time Correction
11:55:07.58 -2.64
11:55:07.68 -2.64
11:55:07.88 -2.64
11:55:08.28 -2.64
11:55:08.38 -2.64
Example of the bathymetric data:
X Y Date Time Depth
-2.620748 48.75...