RE: [R] Need help with R date handling and barchart with errorbars

2005-04-28 Thread Marc Schwartz
On Thu, 2005-04-28 at 16:00 -0500, Ghosh, Sandeep wrote: > Hi, > > I'm having problems getting the resulting R image generated as an png > file when trying to feed the R cmds through a java prog to R. I was > facing the same problem once before and Deepayan had suggested to use > "print" along wit

RE: [R] Need help with R date handling and barchart with errorbars

2005-04-28 Thread Ghosh, Sandeep
gments(as.numeric(x), y - sd/sqrt(count), as.numeric(x), y + sd/sqrt(count), col = 'red', lwd = 2) }))); dev.off(); As always, any help is gre

Re: [R] Need help with R date handling and barchart with errorbars

2005-04-21 Thread Deepayan Sarkar
On Thursday 21 April 2005 17:44, Ghosh, Sandeep wrote: > Hi All.. > > Have a question.. For the following r code > > testdata <- as.data.frame(t(structure(c( > "1/1/04","LV1",3.8,2,87, > "2/1/04","LV1",3.2,3,28, > "3/1/04","LV1",3.4,3,88, > "4/1/04","LV1",3,2,26, > "5/1/04","LV1",3.8,2,87, > "6/1/0

RE: [R] Need help with R date handling and barchart with errorbars

2005-04-21 Thread Mulholland, Tom
Fristly when you are using a package (in this case date) put it in your email. Dates are stored as numbers and if I recall correctly as.date will be the number of days since sometime in 1960. As with other objects there are generally methods that will ensure that the correct printed format will