Displaying 20 results from an estimated 6000 matches similar to: "read.zoo problems"
2012 Mar 08
2
Wine Builds (.deb) for Debian related Distros
I am willing to help the community by creating .deb package files for Wine as soon as the source is released. I will links to the file here. I use Mediafire as my uploading host.
Wine 1.4 Stable can be downloaded here http://www.mediafire.com/?7zi68cw59qzkawl (32bit) I'll compile a 64bit version only if people request it.
-------------------------------------
Future releases will be listed
2012 Mar 19
2
Loading Dataset into R continual issue
Hi, this is related to academic research I am trying to conduct. Please
pardon my lack of socialization for this forum.
For my project, I had to combine two different datasets, Democracy dataset
from Pippa Norris and World Bank Patents dataset.
My issue arrises from just loading the file into R. My colleagues proficient
in R have been stumped as well. Often times the file would seem to load
2012 May 28
2
zoo: variable gets modified at making zoo object
I'm doing:
> alyL32007z <- zoo(alyL32007,alyL32007$time)
> range(time(alyL32007z))
[1] "2007-01-01 00:00:00 UTC" "2007-12-31 23:30:00 UTC"
But then, while the original variable is:
> summary(alyL32007$NEE_st)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
-15.340 -1.615 -0.054 -0.814 0.750 8.965 11124
the variable within the zoo object
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
Forgot to add the tcpdump command used:
tcpdump -p -s 0 -n -w /root/tcpdump_all.txt
Pawel.
wt., 5 maj 2020 o 00:01 pavlos <pavlos.audiofreak at gmail.com> napisa?(a):
> OK, have repeated the test:
>
> - samba logs:
> http://www.mediafire.com/file/jy4qcyvqg6z39zu/logs.tar.gz/file
> - tcpdump log:
>
2011 Sep 12
5
Hourly data with zoo
I have date data as a numeric and hourly data in 0 to 2300 hours in a dataframe.
d <- rep(20110101,24)
h <- seq(from = 0, to = 2300, by = 100)
df <- data.frame(LST_DATE = d, LST_TIME = h, data = rnorm(24, 0, 1))
S <- chron(dates. = as.character(df$LST_DATE), times. =
paste(as.character(df$LST_TIME/100), ":0:0", sep = ""),
format =
2010 Nov 23
2
Plot two zoo object with different indexes
Dear R community, I have the following two zoo objects:
MONTHLY CPI
> plot(z)
> par("usr")
[1] 1977.76333 2011.15333 70.39856 227.03744
> z=zooreg(cpius$Value,as.yearmon("1979-11"),frequency=12)
> str(z)
?zooreg? series from Nov 1979 to Oct 2010
Data: num [1:372] 76.2 77 77.8 78.5 79.5 80.3 81.1 82 82 82.6 ...
Index: Class 'yearmon' num [1:372]
2011 Sep 27
2
Problem with zoo::window()
I have the following time series:
> class(CCasadesz2)
[1] "zoo"
> setmanes <- cut(time(CCasadesz2),breaks="weeks")
> CCasadeswz <- aggregate(CCasadesz2,sum,by=setmanes)
> class(CCasadeswz)
[1] "zoo"
> summary(CCasadeswz)
Index CCasadeswz
2009-01-12 00:00:00: 1 Min. : 4.0
2009-01-19 00:00:00: 1 1st Qu.:
2011 May 26
2
zoo column names
I have a zoo object that contains 2 time series named "A-B" and "V1".
When I create a third series "V2", the name of the "A-B" series is changed
to "A.B".
Although I could recreate the names for the 3 series I am wondering if there
is a way of preventing the name change from happening ( ... maybe an
equivalent of the keep.names=TRUE statement
2010 Oct 25
4
zoo.read intraday data
Hello all,
I'm trying to use zoo.read but can't figure out
how to deal with the time format. (example below)
would be nice if someone could help.
best regards,
Immanuel
---------------------------
L <- "Date,Time,Open,High,Low,Close,Up,Down
05.02.2001,00:30,421.20,421.20,421.20,421.20,11,0
05.02.2001,01:30,421.20,421.40,421.20,421.40,7,0
2011 Jan 06
1
[zoo] - Individual zoo or data frames from non-continuous zoo series
#Is there a way to break the below zoo object into non-NA data frames
algorithmically
#this is a small example of a much larger problem.
#It is really no even necessary to have the continuous chunks
#end up as zoo objects but it is important to have them end
#up with the index column.
#thanks for all of your help in advance, and
#if you need anything else please let me know
library(zoo)
ind.
2012 Sep 05
2
cex.lab ignored in plot.zoo for multiple plots
Hello everyone,
a problem with the plot.zoo function. In the parameters of the function,
cex.lab is ignored. I tried to reduce the size of the yaxis labels by at
least 50%.
------------------
Example:
sample <- as.zoo(EuStockMarkets)
par(las=1)
plot.zoo(sample, plot.type="multiple", main="Time Series", xlab="Date",
yaxt="n", cex.lab=0.5,
2011 Jan 27
1
Problem converting zoo object (daily data) to a timeSeries object
When I try to convert the zoo object to a timeSeries object, which would
allow me to utilize Rmetrics packages, I get an error message.
> Data<-read.zoo("c:\\DOWUBSPRICING.txt,na.strings="NA",sep="\t",header=T)
> is(Data)
"zoo"
> as.timeSeries.zoo(Data)
Error in .local (.Object, . )
Is this happening because I am using daily data?
2011 Mar 15
2
Pointwise division of two zoo objects?
Just trying to create returns from prices, and do something like:
returns.z = tail(prices.z,-1)/head(prices.z,-1) - 1 # should be equivalent
to returns = exp(diff(log(prices.z))) - 1
Curiously, I get a zoo object back with zeros everywhere and also with the
index having one fewer element than it should.
Does anyone know how to pointwise divide zoo objects, and what exactly "/"
is
2012 Mar 05
2
Filter/Ceiling for unwanted data - zoo
Here's my script:
http://pastebin.com/zx3TCtXg
I want to draw attention to the code block where the read in of the raw data
is located. Is there a function that filters out unwanted data with respect
to a ceiling limit. For example, I want to remove any value over 500 kW in
the rawCool variable. Any ideas where to go with that? I figure it would be
an argument within read.zoo or an external
2011 Apr 06
2
A zoo related question
Dear all, please consider my following workbook:
library(zoo)
lis1 <- vector('list', length = 2)
lis2 <- vector('list', length = 2)
lis1[[1]] <- zooreg(rnorm(20), start = as.Date("2010-01-01"), frequency = 1)
lis1[[2]] <- zooreg(rnorm(20), start = as.yearmon("2010-01-01"), frequency =
12)
lis2[[1]] <- matrix(1:40, 20)
lis2[[2]] <-
2011 Mar 02
1
Create a zoo/xts Time Series with Millisecond jumps
Is there a easy way to create the time index for a zoo/xts object for every
100 milliseconds.
eg. time Index would be:
10:00:00:100
10:00:00:200
10:00:00:300
10:00:00:400
I am looking to build an empty zoo/xts object with time index from 10am to
3pm, index jumps by 100ms each row.
Thanks,
Chris
--
View this message in context:
2010 Sep 22
2
plot.ts versus plot.zoo
plot.ts has an argument yax.flip, plot.zoo does not.
Is there a way to make the yaxis flip in plot.zoo?
I tried using a custom panel function:
panel.yaxis<-function(...) {
npnl<-parent.frame$panel.number
if (npnl %% 2 == 0) {
axis(side=3)
} else {
axis(side=2)
}
}
This leads to a blank window. I am stuck with the intricacies of the
plotting and axis
2012 Mar 06
1
Extracting data from a zoo by date
Dear all,
I know that it is a silly question, but I have a zoo object like this:
valor1 valor2
01/02/08 36.7381 17.0097
01/03/08 36.9296 16.8331
01/04/08 35.6934 16.3539
01/07/08 35.3539 16.3791
01/08/08 36.3811 16.9340
01/09/08 37.9220 17.6655
The name is nuevo.zoo and I need to extract the data for a giving day, for
example for 01/03/08 and for the
2011 Aug 29
3
replacing elements of a zoo object
Why doesn't this work?
x = zoo(1:5, as.Date('2001-01-01')+1:5)
x[as.Date('2001-01-05')]
x[as.Date('2001-01-05')] = 0
x
I think this is especially bad because it doesn't cause an error. It lets
you do something to x, but then you can't see x again to see what it did.
[[alternative HTML version deleted]]
2010 Dec 03
1
intraday zoo
I'm trying to read intraday zoo but running into issues (again) ...
what am I missing here? (the date doesn't seem to read in correctly)
> head(dat)
TrdDate TrdTime impliedVol
1 20090102 09:55:03 0.3610715
2 20090102 09:55:04 0.3637943
3 20090102 09:55:05 0.3752375
4 20090102 09:55:05 0.4190025
5 20090102 09:55:06 0.3696080
6 20090102 09:55:06 0.4944981
> f <-