search for: medpch

Displaying 5 results from an estimated 5 matches for "medpch".

Did you mean: mech
2005 Nov 13
1
How to show numerical values on boxplots
Hi, dear all, I want to show numerical values with decimal points on the boxplots. Here is what I did: For example; x1<-rnorm(100,2,2); x2<-rexp(100); label<-rep(1:2, rep(100,2)) median<-round(c(median(x1), median(x2)),3) boxplot(c(x1, x2)~label, medpch=paste(median), medcex=1.2) It only shows the integers at the median position in the boxplots. How to make it show more decimal points pls? Thanks a lot. Lily NUS [[alternative HTML version deleted]]
2010 Jan 06
1
boxplot help
Dear Rexperts, I am trying to add a '+' identifying the mean in a boxplot using the following sizelist <- split(size, grp) centers <- boxplot(sizelist, style.bxp = "att", medpch = "o", ylab = "Prostate Volume (cm3)") points(centers, unlist(lapply(sizelist, mean)), pch = "+") But, I get error Error in xy.coords(x, y) : 'x' and 'y' lengths differ which I do not understand. The data follows grp size...
2010 Feb 16
3
error : unused argument(s) when boxplot
Dear all, I am a total beginner in R, so sorry if this is the wrong place. I am using R 2.10.1 on a Mac (Mac OS 10.6.2). I have this small dataset : growth sugar 75 C 72 C 73 C 61 F 67 F 64 F 62 S 63 S I have no problem reading the table, or getting the summary, but if I try boxplot(growth~sugar, ylab="growth", xlab="sugar", data=Dataset), I have the following error :
2009 Mar 05
0
(PR#13553) wishlist boxplot
...xysegments(xP(x, -wntch), stats[3L], > xP(x, +wntch), stats[3L], > - lty = medlty[i], lwd = medlwd[i], col = medcol[i]) > + lty = medlty[i], lwd = medlwd[i], col = medcol[i], lend=1) > xypoints(x, stats[3L], > pch = medpch[i], cex = medcex[i], col= medcol[i], bg = > medbg[i]) > ## Whiskers > > > > Best wishes, > Uwe Ligges > -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford,...
2005 Jul 22
0
boxplot() defaults {was "boxplot in extreme cases"}
...ts {was "boxplot in extreme cases"} >Martin Maechler maechler at stat.math.ethz.ch >Mon Nov 8 10:36:42 CET 2004 > > AndyL> Try: > > AndyL> x <- list(x1=rep(c(0,1,2),c(10,20,40)), > x2=rep(c(0,1,2),c(10,40,20))) > AndyL> boxplot(x, pars=list(medpch=20, medcex=3)) > > AndyL> (Cf ?bxp, pointed to from ?boxplot.) > >Good! Thank you, Andy. > >However, >this is not the first time it had crossed my mind that R's >default settings of drawing boxplot()s are not quite ok -- and >that's why I've diverted to...