[R] Ctree plot
Weidong Gu
anopheles123 at gmail.com
Thu Aug 9 15:05:17 CEST 2012
Hi,
You may want to check grid.arrange in gridExtra package.
Weidong
On Thu, Aug 9, 2012 at 7:36 AM, rodrock <rodrigo.vargasgaete at gmail.com> wrote:
> HI everybody!
>
> Has anybody figure out how would be possible to plot several ctree plots
> beside each other?
> I would really appreciate it
> My idea would be like this, but the par() function seem to be lower in
> hierarchy
> Thanks in advance
> #########################################################
> library(party)
>
> mtree <- ctree(Species ~ ., data=iris)
> sep.tree<-ctree(Sepal.Length ~ ., data=iris)
>
> par(mfrow=c(1,2)) # Does not work
> plot(mtree)
> plot(sep.tree)
>
>
>
>
> -----
> Rodrigo Vargas G.
> -----------------------------------------
> Silviculture Institute
> Freiburg University
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Ctree-plot-tp4639750.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list