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: 

code: 

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

output: 

             

Even numeric variable may work as factors for such graphs: 

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

output (graph): 

                 


    Comments & Feedback