partykit: justify text in terminal node when unequal regressors' name lengths are included
问题 I am trying to edit the esthetics of the terminal node to: Increase the size of the box such that the full names are listed inside of it. If possible, justify the text inside when in the presence of unequal regressors' name lengths to produce a table-like view of the terminal nodes. Below I listed my attempts, using the gp option (fontsize = 10, boxwidth = 10) , but I suspect that I am using the wrong esthetics options. The mysummary function is highly inspired in this question. library(