Re: [R] how to change the quantile method in bwplot

2009-07-22 Thread Jun Shen
Thanks to Deepayan's suggestion, I was able to use boxplot.stats to specify type=6 to calculate quantiles by creating my own stats function as follows, my.boxplot.stats-function(y,subscripts,...)boxplot.stats(quantile(y,type=6),...) And then call

Re: [R] how to change the quantile method in bwplot

2009-07-21 Thread Jun Shen
Uwe, Thank you for your reply. I am still not very clear about the meanings of the arguments in the stats function. To make it clearer, quantile() uses type=7 as default method. I believe this is the method bwplot() uses to calculate the quantiles. I want to use type=6 method for bwplot(). How

Re: [R] how to change the quantile method in bwplot

2009-07-21 Thread Deepayan Sarkar
On Tue, Jul 21, 2009 at 7:47 AM, Jun Shenjun.shen...@gmail.com wrote: Uwe, Thank you for your reply.  I am still not very clear about the meanings of the arguments in the stats function.   To make it clearer, quantile() uses type=7 as default method. I believe this is the method bwplot() uses

Re: [R] how to change the quantile method in bwplot

2009-07-21 Thread Matthias Kohl
for teaching purposes I wrote a corresponding function; cf. qbxp.stats (as well as qboxplot ...) in package MKmisc. hth, Matthias Deepayan Sarkar schrieb: On Tue, Jul 21, 2009 at 7:47 AM, Jun Shenjun.shen...@gmail.com wrote: Uwe, Thank you for your reply. I am still not very clear about

[R] how to change the quantile method in bwplot

2009-07-20 Thread Jun Shen
Hi, everyone, Since quantile calculation has nine different methods in R, I wonder how I specify a method when calling the bwplot() in lattice. I couldn't find any information in the documentation. Thanks. -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park