[R] why there is no quarters?

Pancho Mulongeni p.mulongeni at namibia.pharmaccess.org
Mon Dec 16 13:05:30 CET 2013


Hi,
I also would like to use quarters. I think a work around would be to just label each record in the dataframe by its quarter.
i.e. you add a factor called 'Quarter' with four levels (Q1 to Q4) for each row and you assign the level based on the month of the date.
You can easily do this with as.Date and as.character.

Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
 
Tel:   +264 61 419 000
Fax:  +264 61 419 001/2
Mob: +264 81 4456 286



More information about the R-help mailing list