1 Star 0 Fork 0

张剑/市场预测

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
答案1.R 805 Bytes
一键复制 编辑 原始数据 按行查看 历史
张剑 提交于 2021-04-26 00:18 . 更新了第9题答案。
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')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/jefeerzhang/forcast.git
git@gitee.com:jefeerzhang/forcast.git
jefeerzhang
forcast
市场预测
master

搜索帮助