Error in plot.window(…) : need finite 'xlim' values

前端 未结 4 1351
余生分开走
余生分开走 2020-12-03 20:55

What should i do for this error? My code is :

library(e1071)
library(hydroGOF)
donnees <- read.csv("F:/new work with shahab/Code-SVR/SVR/MainData.csv&         


        
4条回答
  •  有刺的猬
    2020-12-03 21:23

    This error appears when the column contains character, if you check the data type it would be of type 'chr' converting the column to 'Factor' would solve this issue.

    For e.g. In case you plot 'City' against 'Sales', you have to convert column 'City' to type 'Factor'

提交回复
热议问题