您可以使用par
来调整比例cex
。我没有你的数据,但这应该有效。
xtree <- rpart(Event ~ ACTIVITY_X + ACTIVITY_Y + ACTIVITY_Z, data = train, method = "class", parms = list(split = "information"))
par(cex = .5)
plot(xtree)
text(xtree)
summary(xtree)
您可以进行调整cex
以使其适合您。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句