library(rpart)
library(rpart.plot)
fit <- rpart(Kyphosis ~ Age + Number + Start, data = kyphosis)
prp(fit, type = 4, extra = 101, leaf.round = 1, fallen.leaves = TRUE,
varlen = 0, tweak = 0.8)
我正在努力使文本适合圆形方块。我试着降低
tweak
和
cex
值,但似乎随着文本的增加,圆角的正方形变小了。如何使字体变小?