我正在尝试在 R中使用featurePlot。caret
这是我正在使用的代码:
trellis.par.set(theme = col.whitebg(), warn = FALSE)
caret::featurePlot(x = df[, 3:6],
y = df$ud,
plot = "scatter")
其中 的所有列df[, 3:6]都是数字类型,而df$ud是二进制因子。
我还ellipse按照其他地方的建议安装了该库。
但是,我不断得到NULL.
知道为什么吗?