first analysis of all data in R