Data Visualization with R: Exercise-I

 

Simple Box Plot 

 For the detailed visualization of summary statistics of percentage relative efficiency of estimators, researchers can use following codes


x1=c(136.01,141.36,143.05,143.63,134.12,125.54,126.17,108.60,103)

y1=c(230.21,200.15,189.75,175.24,163.71,153.11,141,133.36,128)

 boxplot(x1,y1,staplewex = 1, horizontal=T, col=c("white","light gray"),

 main="Population 1",  xlab="Summary Statistics"   , yaxt="n" )

legend("bottomright",legend=c("PRE(1)","PRE(2)"),fill=c("white","light grey"), cex=0.8)




Please write your suggestion 








Comments