[R] Custom axis with months name
ruipbarradas at sapo.pt
Thu Jan 24 20:18:21 CET 2013
To get the months names you can try
As for the axis, see the help page ?axis. Argument 'labels'.
Hope this helps,
Em 24-01-2013 17:34, Grigory Fateyev escreveu:
> I have data.frame with column class POSIXct:
> data[, 1] <- as.POSIXct(data[, 1], format = "%d.%m.%Y %H:%M")
> I need to write custom axis for plot where can be ex.: January (mean
> of january's temperature). List of month I get as table(months(data[,
> 1])). What is next step?
More information about the R-help