R的Boruta中boxplot的颜色是否取决于其他包装?

时间:2019-12-24 14:52:49

标签: r random-forest feature-selection

我正在尝试使用箱形图来显示变量的重要性,但是无法获得箱形图来显示四种不同的颜色,我得到的图是黑色的。我正在使用Boruta版本6。

plot函数是否依赖于另一个软件包?

我使用了以下代码;

1. plot(boruta_output, las = 2, cex.axis = 0.7)
2. plot(boruta_output, colCode = c("green", "yellow", "red", "blue"), 
      sort = TRUE, whichShadow = c(TRUE, TRUE, TRUE), col = NULL, 
      xlab = "Attributes", ylab = "Importance")

0 个答案:

没有答案