Demo of using R for table data analysis