The current data frame has three columns and 136 rows. I want to create a new column with first 68 rows have a fixed value="03" and next 68 rows have a fixed value='04".
select(code, year, value) ->aa1. I tried this code aa1 [ , 'month']= c(rep( '03','1:68'))
aa1 [ , 'month']= c(rep( '04', '69:136'))