ggplot2-translation icon indicating copy to clipboard operation
ggplot2-translation copied to clipboard

P21代码运行报错

Open mcleeh opened this issue 9 years ago • 0 comments

运行提示系统无法判断该如何调用函数,经验证是因为数据集“economics”的“date”格式为因子(可通过str函数查看),需先转换为日期格式(economics$date<-format(economics$date,%Y/%m/%d)),转换后通过str函数可以看到“date”格式变为日期了。

mcleeh avatar Jul 21 '16 02:07 mcleeh