I have a valid range of 1981: 1984. How to use the rep () function to obtain the following results: For each round representative, the last year falls: first come 1981: 1984, then 1981: 1983, then 1981: 1982, then 1981, as shown in the table:
1981
1982
1983
1984
1981
1982
1983
1981
1982
1981
source
share