Re: [R] ?R: Removing white space betwen multiple plots, traditional graphics

2007-07-22 Thread Mr Natural
r(mar=c(0,5,0,2), mfrow = c(6,1), oma=c(5,0,2,0)) Thank you Steven! Warm regards, Don ps. This forum is very valuable to the growth of R usage among those of us who are not programmers. Mr Natural wrote: > > I would appreciate suggestions for removing the white spaces the graphs in &g

[R] ?R: Removing white space betwen multiple plots, traditional graphics

2007-07-20 Thread Mr Natural
I would appreciate suggestions for removing the white spaces the graphs in a stack: par(mar=c(2,2,1,1), mfrow = c(6,1)) mydates<-dates(1:20,origin=c(month = 1, day = 1, year = 1986)) plot(rnorm(20,0.1,0.1)~mydates, type="b",xlab="",ylim=c(0,1),xaxt = "n") plot(rnorm(20,0.2,0.1)~mydates, type="b",

[R] dates() is a great date function in R

2007-07-18 Thread Mr Natural
Proper calendar dates in R are great for plotting and calculating. However for the non-wonks among us, they can be very frustrating. I have recently discussed the pains that people in my lab have had with dates in R. Especially the frustration of bringing date data into R from Excel, which we h

Re: [R] Date problem

2007-07-17 Thread Mr Natural
Dear Natalia: I have had the same problem. Solved it by keeping my dates in Excel files with the rest of my data. When I want to do something in R, highlight the date column and format it as "general" You will get a 5 digit number that represents the Julian date (more digits if you have minutes an