我设法以这种格式获取数据结果:
month Result
1 11/2017 98.66667
2 12/2017 97.78947
3 01/2018 96.13636
4 02/2018 96.40000
5 03/2018 94.00000
6 04/2018 97.92857
7 05/2018 95.75000
我现在试图将其绘制为折线图:
plot(month, Result, type="l")
但我收到以下错误:
Error in plot.window(...) : need finite 'xlim' values In addition: Warning messages: 1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf