Re: [R] How to show numerical values on boxplots

2005-11-13 Thread Uwe Ligges
Yue Li wrote: > 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),

[R] How to show numerical values on boxplots

2005-11-13 Thread Yue Li
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