R语言在使用plot_time_series时显示value出错
Demand <- read_csv("data/Demand.csv")
library(ggplot2)
head(Demand)
tdemand<-ts(Demand$Demand,start = c(2000,1),frequency = 12)
tdemand
glimpse(tdemand)
tdemand<-ts(Demand$Demand,start = c(2000,1),frequency = 12)
tdemand
glimpse(tdemand)
plot_time_series(Demand,date, value, .interactive = F)
plot_time_series(Demand,date, value, .interactive = F)
Error indplyr::mutate()
:
! Problem while computing.value_mod = value
.
x.value_mod
must be a vector, not a function.
如何改这里的函数使程序顺利运行
把报错发给我看看