我正在尝试绘制我的" PageLoads"我的"日期列"来自.csv如下:
date<-as.character(df$Date) # changing my Date column from factor to character class
df$Date <- as.Date( date, format="%m/%d/%Y") # changing it from character to Date class
print(ggplot( data = df, aes( Date, PageLoads )) + geom_line()) # lastly plotting it
但它给出了错误:&#39;到&#39;不能是NA,NaN或无限
请有人帮我解决这个问题......我将非常感谢你。