[R] Changing date format

Frederic Ntirenganya ntfredo at gmail.com
Tue Oct 7 09:32:42 CEST 2014


Dear All,

How can I change the format of date of day of the year ? for example r
(i.e. "17 Apr" rather than "108").

The following is the type of the dataset I have

head(Samaru)
  Year Start End Length
1 1930   108 288    180
2 1931   118 288    170
3 1932   115 295    180
4 1933   156 294    138
5 1934   116 291    175
6 1935   134 288    154

Any idea is welcome. Thanks!!!

Cheers.
-- 
Frederic Ntirenganya
Maseno University,
Kenya.
Mobile:(+254)718492836
Email: fredo at aims.ac.za
https://sites.google.com/a/aims.ac.za/fredo/

	[[alternative HTML version deleted]]



More information about the R-help mailing list