Skip to content

Barchart, Pareto

1 message · S Ellison

#
--- "Kapoor, Bharat " <k at chicagogsb.edu> wrote:

            
You could plot the barchart horizontally, and increase the margins to
allow the full labels:

windows(6,4) #or x11(6,4)
par(omd=c(0.2,1,0,1))
oo<-order(Frequency, decreasing=F)
barplot(Frequency[oo],names.arg=Reason.for.failure[oo], horiz=T,
las=1)