# NOT RUN {
### A simple scatter plot
scatterPlot(mtcars$mpg, mtcars$hp);
### The same scatter plot, now with a regression line
### and its confidence interval added.
scatterPlot(mtcars$mpg, mtcars$hp, regrLine=TRUE, regrCI=TRUE);
# }
Run the code above in your browser using DataLab