similar to: How can I read time series data to create zoo objects if I have two title lines?

Displaying 20 results from an estimated 70 matches similar to: "How can I read time series data to create zoo objects if I have two title lines?"

2008 Nov 26
0
ts subscripting problem
hi, i am having trouble getting a particular time series to plot. this is what i have: > class(irradiance) [1] "ts" > irradiance[1:30] 197811 197812 197901 197902 197903 197904 197905 197906 1366.679 1366.729 1367.476 1367.739 1368.339 1367.883 1367.916 1367.055 197907 197908 197909 197910 197911 197912 198001 198002 1367.484 1366.887 1366.935
2006 Jun 04
2
surprising dates
I wonder if this is an intentional feature or an oversight. in some column summaries or in ifelse operations, apparently I am losing the date property of my vector. > a <- c(198012, 198101, 198102) > b <- a*100+31 > c <- as.Date( as.character(b), "%Y%m%d" ) > summary(c) Min. 1st Qu. Median Mean 3rd Qu. Max.
2007 Sep 11
2
Help regading time series data reading
Dear R-Users, Have a question about reading in some data and manipulating dates. I have a data set in excel which looks like this: Date PEG ETN HSP PTC 13/10/2004 41.92 64.75 29.86 9.27 14/10/2004 41.93 61.79 29.98 9.14 15/10/2004 41.69 62.7 30.09 9.04 18/10/2004
2006 Oct 19
1
Problem Reading from .txt
I apologize that I've asked a similar question before, but being new to R I don't think I did a very good job of formating the question. I've included a text file since the date set is somewhat large. What I have is a huge string of numbers in a text file. The numbers are all separated by comma's and the groups are separated by a semicolon. What I would like to do is read each
2006 Mar 13
2
dotchart: Gap between text and chart
I have some data which I would like to display with dotchart. The labels are very long, so the chart becomes too small. Setting cex=0.7 seems to be a good compromise, but the gap between the text and the chart still is too large. I did not find a "gap" parameter in the description of dotchart... Thanks for any help. D. Trenkler "a" <- structure(c(103.35, 36.73, 55.09,
2009 Aug 24
3
[LLVMdev] x86_64-apple-darwin Polyhedron 2005 benchmarks
The current llvm/llvm-gcc-4.2 2.6 branch passes all of the Polyhedron 2005 benchmarks built with its gfortran. The results compare as follows... Compile Command : gfortran -ffast-math -funroll-loops -msse3 -O3 %n.f90 -o %n benchmark gcc-4.2.4 llvm-gcc-svn llvm-gcc-2.6 llvm-gcc-2.6 at -m32 20081031 -m32 at -m32 at -m64 ac 18.30
2002 Jun 19
2
solve() doesn`t work
Hi, I tried to inverse a matrix but it doesn`t work. I hope somebody can help me. This is what I did. > kurse <- read.table("kurse.txt", header=T, dec=",") > x <- cbind(1,kurse[,-c(1)]) > y <- kurse$index > t(x) %*% x Error in t(x) %*% x : requires numeric matrix/vector arguments > x <- as.matrix(x) > xtxi <- solve(t(x) %*% x) Error in
2015 Jan 20
2
Question on "single writer, multiple reader"
On Sun, Jan 18, 2015 at 04:25:29PM +0000, James Aylett wrote: > That?s exactly how it?s supposed to work. ?Eventually? (once the > writer gets sufficiently far ahead of the reader), the reader will get > a DatabaseModifiedError and will have to re-open the database, but > until then it?s up to it when it does so. You may wish to do it every > N requests, or every K seconds, or only
2007 Aug 22
5
Slow concurrent actions on the same LVM logical volume
Hi 2 all ! I have problems with concurrent filesystem actions on a ocfs2 filesystem which is mounted by 2 nodes. OS=RH5ES and OCFS2=1.2.6 F.e.: If I have a LV called testlv which is mounted on /mnt on both servers and I do a "dd if=/dev/zero of=/mnt/test.a bs=1024 count=1000000" on server 1 and do at the same time a du -hs /mnt/test.a it takes about 5 seconds for du -hs to execute: 270M
2005 Nov 17
2
zpool iostat question
Hello ZFSland, Is there any significance in the fact that the bandwidth/read figures for a simple cpio into a ZFS filesystem should be multiples of 21.3K (when non-zero) as follows? What could determine this figure? Do I need to read a manpage? ;-) Thanks... Sean. ----- [root at global:/36g2] # zpool iostat 3 capacity operations bandwidth pool used avail read
2012 May 04
1
zoo package; a question on as.yearmon and as.yearqtr
Hello, In zoo package, if I would like the time frame to be 1981M01 to 1982M12, then I code time_0<-as.yearmon("1981-01")+(0:23)/12 However, if the time frame of interest becomes 1981M01 to 2011M12, it is relatively hard to calculate the number of months. Is there any faster way to do it? Thanks, miao [[alternative HTML version deleted]]
2006 Mar 13
1
[R] dotchart: Gap between text and chart (PR#8681)
(Moved from r-help) On 3/13/2006 9:33 AM, Dietrich Trenkler wrote: > I have some data which I would like to display with dotchart. The > labels are very long, so the chart becomes too small. Setting cex=0.7 > seems to be a good compromise, but the gap between the text and the > chart still is too large. I did not find a "gap" parameter in the > description of dotchart...
2010 Jan 24
1
Categorical data repeated on time analysis
Hi, I am trying to analyze a data set when nematodes were killed after a drug administration. We have counted the number of nematode died and the number of nematode survival at three time points. So, there are 100% died in some plot and could be found zero percent in another. Then, the data set have a lot of zeros. I have googled and found a lot of information. Moreover, my data isn't
1998 Dec 15
6
Samba and WINS
Current situation: a) lots of Windows NT 4.0 workstation clients b) quite a few Samba 1.9.18p10 servers running on Suns c) 1 Samba server running as WINS server d) NO Windows Servers e) 1:1 correspondance between Netbios names and DNS names f) DHCP currently tells the Windows machines the WINS server. Problem: If WINS server goes down, every Windows NT workstation can not mount anything
2004 Sep 02
0
Two xtable Questions
Hi, These are two problems I've never seen when I used xtable() before... R 1.9.1 for Windows XP, xtable version 1.2-3: > final.df Loci Chr Marker Position P.values Deviance DF 1 Idd5 1 D1Mit181 42.6 0.0011 103.21 78 2 Idd6/19/20 6 D6Mit374 66.7 0.0014 104.29 78 3 Idd13 2 D2Mit490 64.5 0.0025 97.83 78 4
2008 Aug 05
31
Btrfs v0.16 released
Hello everyone, Btrfs v0.16 is available for download, please see http://btrfs.wiki.kernel.org/ for download links and project information. v0.16 has a shiny new disk format, and is not compatible with filesystems created by older Btrfs releases. But, it should be the fastest Btrfs yet, with a wide variety of scalability fixes and new features. There were quite a few contributors this time
2008 Sep 23
1
help
[From:http://www.zytor.com/mailman/options/syslinux/swdamle%40bsnl.in ] on Monday, 21sep08 hpa wrote, --------------------------------------------------------------------- I presume you used isolinux.bin (from 3.72-preX, not an older version) and not isolinux-debug.bin? (The hybrid support code doesn't fit in the debug version.)
2006 Oct 11
1
Bug in stepAIC?
Hi, First of all, thanks for the great work on R in general, and MASS in particular. It's been a life saver for me many times. However, I think I've discovered a bug. It seems that, when I use weights during an initial least-squares regression fit, and later try to add terms using stepAIC(), it uses the weights when looking to remove terms, but not when looking to add them:
2005 Sep 22
0
High CPU Time an Load Avarage on our Samba Server
Hello list, how could this happen? The Server doesn't respond from time to time with a high load avarage. We found a suspicious smbd process: top - 13:43:07 up 1 day, 2:27, 5 users, load average: 32.49, 58.41, 37.95 Tasks: 1196 total, 5 running, 1190 sleeping, 0 stopped, 1 zombie Cpu0 : 14.7% us, 3.8% sy, 0.0% ni, 79.8% id, 1.3% wa, 0.0% hi, 0.3% si Cpu1 : 1.3% us, 84.6%
1999 May 21
2
glm crash (PR#197)
Dear bug-busters, This week I've posted a message to the R-help mailing to inquire if anybody had experienced alike me. When I run the following GLM: glm(n~s+c+m, family=quasi(link=log, variance=mu)) several times using exactly the same dataset R crashes at random. I have tried to probe into the problem by tracking the response times of the above function with system.time (e.g.