R Programming Homework Solution on Predicting Mode of Transportation