代码拉取完成,页面将自动刷新
library(tidyverse)
library(fpp3)
tourism <- readxl::read_excel("./data/tourism.xlsx")
tourism %>% mutate(date = yearquarter(Quarter)) %>%
select(-Quarter) %>%
as_tsibble(key=c(Region, Purpose,Trips),index = date) -> tourism_ts
tourism_ts
us_employment %>% distinct(Title)
us_employment %>% filter(Title == 'Total Private') %>% autoplot(Employed)
help(aus_production)
aus_production %>% autoplot(Bricks)
help(pelt)
pelt %>% autoplot(Hare)
help(PBS)
PBS %>% filter(ATC1_desc == 'HO2')
help(us_gasoline)
View(aus_livestock)
aus_livestock %>% filter(Animal == 'Pigs' & State=='Victoria') %>%
mutate(year =year(Month)) %>%
filter(year >= 1990 & year <1995) %>% select(-year) -> pig
pig %>% gg_lag(Count,geom='point')
pig %>% autoplot(Count)
pig %>% ACF(Count) %>% autoplot()+labs('pigs ACF')
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。