I have a string data with following characteristic
c = ("19790102", "19790103", "19790104", "19790105",...)
.
Now I want to make an index for the different seasons (summer, autumn, winter, spring). I managed to do that with only one month (e.g september):
ind_september=which(as.numeric(substr(dayserie[],5,6))==9)
But I have no idea how to do that with several month to get an index for seasons.
Has someone an idea?