I have data like below: I am trying to use ctree method from party package in r. I use below code: It throws below error: I am not sure what ...
I have data like below: I am trying to use ctree method from party package in r. I use below code: It throws below error: I am not sure what ...
I'm trying to replicate the procedure proposed here on my data. target is the categorical variable that I want to predict while I would force the fir ...
The package partykit offers a plotting function for decision trees plot.constparty(), which can display distributions of the terminal node with boxplo ...
I'm working with ggparty and trying to customize the bar charts at each terminal node of a partykit plot (with geom_node_plot). I want the lengths of ...
I am playing with tidymodels workflow for ctree with new bonsai package, an extension for modeling with partykit, here is my code: I understand tha ...
Can the exposure-response relationship estimated within each subgroup, generated by using "partykit", have causal interpretation? ...
I am using the party package to create a random forest model using the cforest() function. However, when I try to look at the variable importance valu ...
I need to plot a conditional inference tree. I have selected the party::ctree() function. It works on the iris dataset. But when I using the rand ...
I'm struggling with an error message that I don't understand. I'm doing some decision trees and everything goes fine, until I try to plot it which ...
How can I specify a more complex data structure than a simple ID column? If I have a glmertree model, how can I specify (e.g.) a cross classified mod ...
Sometimes when working with this package, I only want to assess heterogeneity in one parameter or another. However, I don't think I can do that and th ...
I am trying to fit a conditional logit using mlogit::mlogit() at the end leaves of the tree generated by the MOB algorithm partykit::mob(). Apparently ...
I would like to create a table to summarise the splitting rules of a conditional inference tree (ctree) so that each predictor is in a separate column ...
I fitted a glmtertree model and like to apply a modified node_barplot function my_node_barplot for plotting. However, it seems that function my_node_b ...
I am using lmertree to fit a degradation model of the form ln(y)=offset(ln(t0_value))+b*time where y is the outcome of interest, t0_value is the ini ...
I am currently working with rpart.plot() to plot a decision tree (like the one attached in the picture). My concern is whether I can split the line, ...
Currently I am working with the glmtree() function in R. I have some factor variables with 20+ levels. The problem comes with the representation of th ...
I got some figures after I did decision tree model using part library. This figures shows fundamental function of part library. In these figures, I u ...
Currently I am working with the dataset predictions. In this data I have converted clear character type variables into factors because I think factors ...
Using the recursive partitioning model for logit-trees in the following manner I obtain a plot where the terminal panels overlap with each other an ...