Displaying 4 results from an estimated 4 matches for "node_barplot".
2011 Sep 08
1
Need formatting help - ctree - plot.party - node_hist
Hi,
I am trying to get the terminal nodes of a plot of a ctree object to look nice.
Using the iris data I have:
library(party)
mtree <- ctree(Species ~ ., data=iris)
plot(mtree,terminal_panel=node_barplot(mtree))
The terminal nodes don't display the species names because the names
are displayed horizontally. ?I would like to reduce the size of the
labels and make the terminal nodes horizontal barplots or rotate the
labels by 90 degrees, but I don't know how to do this. ?Any help is
apprecia...
2007 Oct 25
0
adjust labels in plot:terminal_panel {party}
Hi List,
I am unsuccessfully trying to beautify barplot outputs from ctree. For
example I would like to rotate x-axis lables and resize/change
font/type.
mtree <- ctree(ME ~ ., data = mammoexp)
plot(mtree,terminal_panel=node_barplot(mtree,col="black",fill=NULL,
beside=TRUE, ylines=NULL, widths=1,gap=NULL,
reverse=FALSE,id=FALSE))
plot(mtree,terminal_panel=node_barplot(mtree,col="black",fill=NULL,
beside=TRUE, ylines=NULL, widths=1,gap=NULL,
reverse=FALSE,id=FALSE, gp_labels=gpar(fon...
2012 Nov 14
3
ctree
Hello,
I plotted a nice tree with "ctree" . It shows 3 nodes with the prediction of
my 2 groups. (see picture)
Unfortunately I need a larger scale to read the exact prediction of my
groups to get the specificity and sensitivity. I tried to change the scale
with "axis" but it didn't work, my guess because it's not a normal graph
with x and y axis.
Has someone an idea
2008 Aug 13
2
mob(party) formula question
I try tu use mob() with my data.frame ('data.frame': 288 obs. of 81
variables; factors, numerics and ordered factors)
My response is a binary variable and I should use for modelling a logistic
regression (family=binomial).
I read in the "MOB" Vignette that I could use a formula like this if I would
like to have only partitioning variables apart from the response.