search for: sam5

Displaying 1 result from an estimated 1 matches for "sam5".

Did you mean: sam
2006 Apr 17
2
Problem using plot and converted dates
...problems with plotting converted dates in chronological as Mar-03, May-03...Jul-04. My script is: sam4<-c("03/03/01","03/05/01","03/07/01","03/09/01","03/11/01","04/01/01","04/03/01","04/05/01","04/07/01") sam5<-strptime(sam4,format="%y/%m/%d") f<-data.frame(sam5,mkf) plot(f,type="l") # This works ok, but none of the labels appear on the x-axis, so I thought I would convert them using # as.POSIXct: sam6<-format(as.POSIXct(sam5), "%b-%y") mon<-factor(as.character(...