Displaying 1 result from an estimated 1 matches for "shanthimulinti".
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
...intf("%.1f",median(x)))
#columnA columnB
# "44.5"? "10.2"
par(mfrow=c(1,2))
lapply(test1,function(x) {b<- boxplot(x,range=0,horizontal=TRUE);mtext(sprintf("%.1f",b$stats[3]),side=3,at=b$stats[3],line=-8)})
A.K.
----- Original Message -----
From: "shanthimulinti at gmail.com" <shanthimulinti at gmail.com>
To: smartpink111 at yahoo.com
Cc:
Sent: Thursday, March 21, 2013 4:05 PM
Subject: Re: Displaying median value over the horizontal(median)line in the boxplot
Here is what I am doing
my=read.csv("test.csv")
apply(my,2,median,na.rm=TRU...