我正在尝试在R中绘制一个C5.0对象树,但是它出现了以下错误,我似乎找不到如何修复它。
plot(model)
Error in partysplit(varid = as.integer(i), index = index, info = k, prob = NULL) :
minimum of ‘index’ is not equal to 1
In addition: Warning message:
In min(index, na.rm = TRUE) :
no non-missing arguments to min; returning Inf