Re: [R] boxplot width

2010-06-24 Thread nana
Thank you. It worked. Regards -- View this message in context: http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2267050.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailm

Re: [R] boxplot width

2010-06-24 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 24.06.2010 15:18:39: > > it works with the 'TRUE' as well but this only shows me the boxplots width; > it doesn't show me the number of data points used though.. This is what I > can't figure out Save your boxplot call to same object bbb <- boxplot(

Re: [R] boxplot width

2010-06-24 Thread Hrishi Mittal
nana, If you save the boxplot as an R object, you can access various parameters of the resulting plot. Since we don't have your data, I'll give you an example with the preloaded ToothGrowth dataset: ToothGrowth<-y b<-boxplot(y$len~y$dose,xaxt="n") Now, if you type b at the R prompt, you will see

Re: [R] boxplot width

2010-06-24 Thread David Winsemius
On Jun 24, 2010, at 7:45 AM, nana wrote: Hi everyone, I made this set of boxplots that would show me the widths of some sites broken up by some chromosome, but I don't know how to make it indicate the number of data points that created the boxplot. How do I do that? boxplot(data$site~dat

Re: [R] boxplot width

2010-06-24 Thread nana
it works with the 'TRUE' as well but this only shows me the boxplots width; it doesn't show me the number of data points used though.. This is what I can't figure out -- View this message in context: http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2266932.html Sent from the R help mailing

Re: [R] boxplot width

2010-06-24 Thread Tal Galili
Does: boxplot(data$site~data$chr, varwidth=TRUE) (notice I removed the ' ' from the 'TRUE') Work ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistic

Re: [R] Boxplot width

2008-05-23 Thread Jorge Ivan Velez
Hi Antje, Try this: d1 <- rnorm(100) d2 <- rnorm(150) boxplot(c(d1,d2) ~ rep(c(1,2),c(100,150)),col=c(4:5)) HTH, Jorge On Fri, May 23, 2008 at 11:52 AM, Antje <[EMAIL PROTECTED]> wrote: > Hi there, > > assume that you have data with different sampling like > > d1 <- rnorm(100) > d2 <- rnorm(