Displaying 2 results from an estimated 2 matches for "angel_nauti".
2008 May 20
1
how to save many trees within a loop?
Hi,
I would like to save many trees created in a loop as
different ones. I can plot them, but I can not get the
whole tree properties saved. I paste the script below
Also, How can I perform multivariate trees?, that is
predicting a vector o values, not a simple scalar
observation.
Thanks in advance
Angel
for (i in 1:7){#loop para hacer arb
arb=arb[i]#contador
2009 Jul 22
1
R extract vertices for polygon
Dear R users,
I'm trying to extract from a given matrix (GROUP) the coordinates of the vertices of the different groups (i.e. 3, 7, 1 . . .) to plot the polygons to delineate the area in which each group "wins" and colour it diferentially. I can make a simple point plot, but I would like to add polygons with full colored area. The example is with a 5x5 matrix, but I'm working