Examples of R scripts for basic data analyses