Displaying 20 results from an estimated 10000 matches similar to: "zoo, time() & index()"
2010 Jan 28
3
Using tcltk or other graphical widgets to view zoo time series objects
Dear all,
I am looking at the R-help entry below:
http://finzi.psych.upenn.edu/R/Rhelp02/archive/26640.html
I have a more complicatedt problem. I have a zoo time series frame with
100+ sequences.
I want to cycle through them back and forth and compare them to the 1st
column at any time.
I need also a button to click when I need the viewed-selected sequence
(that is being compared to the
2010 Jun 22
3
Duplicate dates in zoo objects
Hello,
I have a zoo time series read from an excel file which has some dates
the same, such as the following example:
02/10/1995 4925.5
30/10/1995 4915.9
23/01/1996 4963.5
23/01/1996 5009.2
04/03/1996 5031.9 # here
04/03/1996 5006.5 # here
03/04/1996 5069.2
03/05/1996 5103.7
31/05/1996 5107.1
01/07/1996 5153.1
02/08/1996 5151.7
Is there a
2010 Apr 08
1
Exchanging zoo object dates
Hi,
I have two zoo objects (time series of same frequency) say A and B. I
need to exchange A's dates for B's.
Is there and easy way?
I managed to do it by converting A to a vector and pasting it on a zoo
vector (all ones) with B's dates but I wonder if there is an easier way
by some "zoo" command I have overlooked...
Thanks in advance,
Costas
2010 Apr 12
1
N'th of month working day problem
Dear Gabor,
Thanks for your reply. however:
> tail(DJd)
^DJI.Close
2010-04-01 10927.07
2010-04-05 10973.55
2010-04-06 10969.99
2010-04-07 10897.52
2010-04-08 10927.07
*2010-04-09 10997.35*
> tail(ag)
2009-11-30 10344.84
2009-12-31 10428.05
2010-01-31 10067.33
2010-02-28 10325.26
2010-03-31 10856.63
*2010-04-30 10997.35
*
It seems the script "makes up"
2010 Jun 30
1
merge.zoo and fill
Hello again,
I merge different zoo time series with prices at different dates. This
returns a multivariate zoo object with NA's at various points i.e.,
2010-02-28 NA NA NA NA 850.2 2444.4 NA
NA NA NA NA NA NA
2010-03-01 61.1 55.3 61.5 81.24 NA NA 1712.2 3.3
11139.3 163.7 2242.4 9015.6 109.791
2010-03-31
2010 May 20
2
Time problems (POSIXct)
Hello,
I have a zoo time series object (say a) with the following time
stamp/format
[1] "1950-01-03 GMT" "1950-01-04 GMT" "1950-01-05 GMT" "1950-01-06 GMT"
[5] "1950-01-09 GMT" "1950-01-10 GMT"
and another (say b) with
[1] "1950-01-05" "1950-01-06" "1950-01-09" "1950-01-10"
2008 Jun 19
1
How can I shade the background area of a zoo time series object between specific dates?
Dear list members,
How can I shade the background area of a zoo time series object between
specific dates?
eg.
library(tseries)
library(zoo)
SP500<-get.hist.quote("^GSPC", start = "1990-01-01", quote =
"Close")
plot(SP500)
How can I produce the same plot but with a (say) red background between
2007-04-12
and
2008-05-14
?
2010 Mar 03
1
List of zoo dataframes
Hello,
I have various datasets of zoo time series (merged into single frames
via the "merge" command) such as
date var0 var1 var2 var3
08/07/1996 652.54 0.223922 0.515819 0.502638
08/08/1996 662.59 0.997841 0.000383 0.999806
06/09/1996 655.68 0.901685 0.569763 0.866333
08/10/1996 700.64 0.268855 0.244701 0.329285
08/11/1996 730.82 0.438407 0.501427 0.461374
2010 Feb 11
2
ZOO object colnames refering to Dates
Hello,
I have large zoo objects (about 100 or more time series merged next to
eachother). Example:
X05.Oct.99 X05.Nov.99 X05.Dec.99 X05.Jan.00 X05.Feb.00 X05.Mar.00
X05.Apr.00 X05.May.00 X05.Jun.00
[1,] 5649.3 5679.4 5679.4 5679.4 5679.4
5679.4 5679.4 5679.4 5679.4
[2,] 5682.7 5719.2 5719.2 5719.2 5719.2
5719.2 5719.2
2011 Jun 03
2
tkrplot Newbie
Hello,
I am trying to write a tcltk based program that plots/manipulates
xts/xoo time series objects.
I have the code I used from
## http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/tkrplot.html :
##
require(quantmod)
require(tcltk)
library(tkrplot)
Sys.setenv(TZ="GMT")
getSymbols("^GSPC", from = "1960-01-01")
Myhscale <- 2.5 # Horizontal scaling
2010 Mar 19
1
Playwith with Linux Mint
Hi,
I am having problems installing playwith on a Linux Mint ver. 8 (Helena)
computer running R-2.10.1. <src/base/R-2/R-2.10.1.tar.gz>
Anybody facing similar problems?
Is it a GTK issue? I can not install the cairo related
packages/libraries as well.
Any pointers very welcome.
Thanks + bestregards,
Costas
[[alternative HTML version deleted]]
2009 Feb 26
2
Importing zoo object ("index contains NAs")
Dear list,
I have an irregular time series saved and exported as a zoo object. What is the trick to force zoo to ignore the missing dates when reading it back in? Thanks.
> str(g)
?zoo? series from 1948-11-02 to 2012-11-06
Data: num [1:14881, 1:8] 1 0 0 0 0 0 0 0 0 0 ...
- attr(*, "dimnames")=List of 2
..$ : NULL
..$ : chr [1:8] "session" "midterm"
2009 Jun 16
1
Chron / zoo index problem
Hi all
I have an irregular zoo series, where the time index looks like the
following:
> head(time(l.zoo))
[1] "2009-06-15 01:44:20.802 GMT" "2009-06-15 01:44:20.812 GMT" "2009-06-15
01:44:20.837 GMT" "2009-06-15 01:44:20.848 GMT" "2009-06-15 06:00:01.320
GMT"
[6] "2009-06-15 06:00:01.330 GMT"
>
2010 Jun 15
6
working with zoo time index ??
Hello
Where could I find examples on how to work with the time index in a
timeseries or zoo series?
Let say I've got this series
DATA
1990-01-01 10:00:00 0.900
1990-01-01 10:01:00 0.910
1990-01-01 10:03:00 0.905
1990-01-01 10:04:00 0.905
1990-01-01 10:05:00 0.890
.......................
2000-12-31 20:00:00 0.992
How do I make simple calculations such as ... ?
Calculate the
2009 Dec 07
2
Filtering a zoo object based on index of another object
Hello everybody,
I have two datasets, observed and predicted.
Since my observed dataset is not in regular intervals, I need to filter my
predicted dataset based on the measurement date of my observed data.
Here, is an example similar to what I have
library(chron);library(zoo)
DATE<- seq(as.Date("2009-01-01"), as.Date("2009-05-01"), by = 1)
mydat<- rnorm(length(DATE),
2008 Feb 21
2
Unable to create/index a zoo irregular timeseries
In the text file pressione2008.csv I have the following
"Data","MAX","MIN","Note"
"07-01-2008 08:00:00", 135, 90, "Eccessi feste, inizio dieta"
"07-01-2008 18:00:00", 135, 85, ""
"08-01-2008 08:00:00", 125, 75, ""
which is a collection of blood pressure data at different time of the day.
I would
2012 Mar 22
4
read.zoo - combining two columns with date and time respectively into one index column?
I have three columns in my raw data: date, time, and dry bulb temperature:
http://r.789695.n4.nabble.com/file/n4495326/weathDataSDCoron.txt
weathDataSDCoron.txt
The date format is %Y%m%d and the time format is %H:%M. Any ideas on how to
read it in such that it looks at the first two columns and then merges it
into one column combining both the date and time?
--
View this message in context:
2003 Sep 23
3
New kid on block
Hi,
I am an experienced developer with Windows and familiar with Linux. I am looking for a SIP solution.
1) How does Asterisk compare to VOCAL in terms of support.
2) Is Asterisk free?
3) Where are the docs? Or even better. Where do I start?
4) Will it run on RH9?
Thanks in advance.
Costas
--
Costas Menico
Meezon Software Corp
201-224-8111
costas@meezon.com
--
2003 Dec 02
2
Does Asterisk overwrite any libraries?
I am using a brand new RH9.0 installation. I installed Asterisk afterwards so I am not sure if Asterisk caused the problem below. The ps doesn't work. It could also be something else. I also tried installing a some video package. But I thought to ask here first if someone has seen this before.
[root@localhost asterisk]# ps
ps: error while loading shared libraries: libproc.so.2.0.6: cannot
2008 Aug 21
1
max and min with the indexes in a zoo object (or anything else that could solve the problem)
library(zoo)
library(chron)
t1 <- chron("1/1/2006", "00:00:00")
t2 <- chron("1/31/2006", "23:45:00")
deltat <- times("00:15:00")
tt <- seq(t1, t2, by = times("00:15:00"))
d <- sample(33:700, 2976, replace=TRUE)
sin.zoo <- zoo(d,tt)
#there are ninety six reading in a day
d.max <- rollapply(sin.zoo, width=96, FUN=max)