Hi,
I'm trying to extract a character vector that has the name of the months.
(S+ 6 on Windows 2000)
The best I can do is this.
> factor.names(as.data.frame(months(0)))
$X:
[1] "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov"
[12] "Dec"
Is there a neater, less roundabout way of doing this?
Thanks,
Karl
-------------------------------------------------------------------------------------------------------------------------------
Karl Nissen
Programmer/System administrator Phone: (+61 2)
6125 4613
School of Resources, Environment and Society Fax: (+61 2)
6125 3770
The Australian National University e-mail:
karl.nissen@anu.edu.au
-------------------------------------------------------------------------------------------------------------------------------
|