Statistics for sociolinguistics using R