plot(iris_ctree)

iris_ctree
##
## Conditional inference tree with 4 terminal nodes
##
## Response: Species
## Inputs: Sepal.Length, Sepal.Width, Petal.Length, Petal.Width
## Number of observations: 105
##
## 1) Petal.Length <= 1.9; criterion = 1, statistic = 97.637
## 2)* weights = 35
## 1) Petal.Length > 1.9
## 3) Petal.Width <= 1.7; criterion = 1, statistic = 45.88
## 4) Petal.Length <= 4.7; criterion = 0.989, statistic = 8.883
## 5)* weights = 35
## 4) Petal.Length > 4.7
## 6)* weights = 7
## 3) Petal.Width > 1.7
## 7)* weights = 28
iris_ctree@tree$right$right
## 7)* weights = 28
nodes(iris_ctree, 7)
## [[1]]
## 7)* weights = 28