Re: [R] a question about boxplot

2014-02-14 Thread Bogdan Tanasa
Thank you Jim ! I made a little change in the script when assigning the median values - and it works ! thank you very much ! x_median<-median(x,na.rm=T) y_median<-median(y,na.rm=T) x<-x[x<10] y<-y[y<10] xy_box<-boxplot(list(x,y),plot=FALSE) xy_box$stats[3,1]<-x_median xy_box$stats[3,2]<-y_median

Re: [R] a question about boxplot

2014-02-14 Thread Bogdan Tanasa
that is a great suggestion ! thanks a lot Jim ! On Fri, Feb 14, 2014 at 1:14 AM, Jim Lemon wrote: > On 02/14/2014 08:08 PM, Bogdan Tanasa wrote: > >> thank you Jim ...the idea behind would be to subset a set of values ? >> >> I would need to automate it the display for a list of numbers (1,2,3,

Re: [R] a question about boxplot

2014-02-14 Thread Jim Lemon
On 02/14/2014 07:52 PM, Bogdan Tanasa wrote: Dear all, a simple question about boxplot() function, on how not to display a set of values (outliers), but keep the same median of the original dataset on the display ; more precisely : given a dataset : 1,2,3,4,5,6, 100, 200,300 the median is : 5

[R] a question about boxplot

2014-02-14 Thread Bogdan Tanasa
Dear all, a simple question about boxplot() function, on how not to display a set of values (outliers), but keep the same median of the original dataset on the display ; more precisely : given a dataset : 1,2,3,4,5,6, 100, 200,300 the median is : 5 after removing the extreme values : 100, 200,