I am trying to generate the information depicted in Plot 1, more specifically the percentage and confidence interval on the paths. Plot 2 is what I am getting when running the syntax bellow. I am sorry if this is too basic, but I am really struggling to find the correct syntax. Many thanks!
library(partykit)
IG.tree = ctree(total_factor ~ IGCDS9_1 + IGCDS9_2 + IGCDS9_3 + IGCDS9_4 +
IGCDS9_5 + IGCDS9_6 + IGCDS9_7 + IGCDS9_8 + IGCDS9_9,
data = data)
plot(IG.tree)
Plot1
Plot2