2015-09-03 16 views
7

Bir C5.0 nesne ağacını R'de çizmeye çalışıyorum ancak şu hatayı veriyor ve nasıl düzeltileceğini öğrenemiyorum.Çizelge C5.0 Ağacı R

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 

cevap

1

bu

library(rattle) 
fancyRpartPlot(model) 
deneyin