我想简单地查看未来 4 个月招聘的预计人数。
我的数据有三个变量
HiringYear、hiringMonth 和 Number of Hires(不同订单的数量)
我的数据可以复制
structure(list(hireyear = c(2015L, 2016L, 2016L, 2016L, 2016L,
2016L, 2016L, 2016L, 2016L, 2016L, 2016L, 2016L, 2016L, 2017L,
2017L, 2017L, 2017L, 2017L, 2017L, 2017L, 2017L, 2017L, 2017L,
2017L, 2017L, 2018L, 2018L, 2018L, 2018L, 2018L, 2018L, 2018L,
2018L, 2018L, 2018L, 2018L, 2018L, 2019L, 2019L, 2019L), month = c(12L,
1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 1L, 2L, 3L,
4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 1L, 2L, 3L, 4L, 5L, 6L,
7L, 8L, 9L, 10L, 11L, 12L, 1L, 2L, 3L), number_of_distinct_orders = c(106L,
150L, 43L, 39L, 46L, 28L, 44L, 15L, 23L, 22L, 12L, 47L, 15L,
1998L, 75L, 165L, 158L, 75L, 49L, 46L, 51L, 25L, 33L, 37L, 36L,
67L, 167L, 41L, 49L, 41L, 263L, 49L, 62L, 48L, 51L, 46L, 37L,
67L, 40L, 12L)), row.names = 245:284, class = "data.frame")