Data analysis in R