Analyse data using R