[R] Help for boxplot

S Ellison S.Ellison at LGCGroup.com
Thu Jun 14 16:29:35 CEST 2012


 

> -----Original Message-----
> First, i use the BOXPLOT() and SUBSET() to produce the box 
> plot of all the 5 funds performance individually: 
> ... 
> *So the FIRST QUESTION is how to eliminate the other 5 
> strategies on the Y-aix? *
either use
boxplot(NetReturn~factor(Strategy),data=filteredFunds,horizontal=TRUE)
# factor() will drop levels from an existing factor with surplus levels

or use droplevels on your subset to remove the extra levels (assuming, of course, that you won't need them again).
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list