R language Access Menu

Title Text Both  

Lineplot with points and confidence intervals

It is often needed to show y axis values against multiple groups. In addition to boxplots shown earlier, lineplots with confidence intervals can also be used: 


> library(sciplot)
> lineplot.CI(x.factor=race, response=age, data=bwdf, xlab='Race', ylab='Age')

output graph:  



Even numeric variable may work as factors for such graphs: 

       > lineplot.CI(x.factor=age, response=lwt, data=bwdf, xlab='Age', ylab='LWT')

output (graph): 


    Comments & Feedback