The example programs have moved to http://r4stats.com/examples Here are example programs to perform many common data analysis tasks in R, SAS, SPSS and Stata. These programs are explained in great detail in the books R for SAS and SPSS Users and R for Stata Users. A Practice Data Set Basic R Programming Data Import & Export Data Management Enhancing Output Graphics, Using the ggplot2 Package Graphics, Using Traditional R Functions Selecting Variables and Observations Statistics |