For the R deme, the population size remained at 5141 until 6855.694 generations ago, at which point a linear reduction took place until 6015.0 generations for size 2292. Afterward, the population saw an linear reduction to 754 by 464.0. From 464.0 generations ago to today, there's been a linear increase from 754 to 7521.
time_units: generations
demes:
  - name: R
    start_time: .inf
    epochs:
      - start_size: 5141
        end_time: 6855.694
      - start_size: 5141
        end_size: 2292
        end_time: 6015.0
        size_function: linear
      - start_size: 2292
        end_time: 464.0
        end_size: 754
        size_function: linear
      - end_time: 0
        start_size: 754
        end_size: 7521
        size_function: linear