Changing Variable Labels in 'ctree' plot
问题 I'm struggling to try to make a CI tree from the 'party' package in R look presentable. So far this is what I have, in terms of cleaning the tree up. current version of tree What I would like to do is change the variable names on each individual node to something more descriptive and not just the shortened variable names used for coding. I tried changing the variable names themselves using the following code: colnames(dat.long.imp.m)[colnames(dat.long.imp.m)=="Gender"] <- "sex" Because some