Re: [R] Conversion from string to date type

2007-03-24 Thread Toby Gass
) datum - as.Date(mydata[date], %d.%m,%y) Error in as.Date.default(mydata[date], %d.%m,%y) : do not know how to convert 'mydata[date]' to class Date I also tried: datum - strptime(imydata[date], %d.%m,%y) datum [1] NA Hope this helps for the future Toby Toby Gass Department of Forest

[R] Reformat meteorological data

2006-12-20 Thread Toby Gass
option. Thank you. Toby Gass Department of Forest, Rangeland, and Watershed Stewardship Warner College of Natural Resources Colorado State University Fort Collins, CO 80523 Phone: 970-491-7257 __ R-help@stat.math.ethz.ch mailing list https