statistics studying using R