# r101

## Tutorials from a *computer scientist* to help *non computer science students* to master the R programming language

The list of tutorials developed so far: Output - Source

- The codes are here: https://github.com/gorodnichy/r101
- The outputs produced using those codes are here (TBA): https://gorodnichy.github.io/r101/

#### Learning Statistics using R (or … Learning R using Statistics).

Part 1: Visualizing various probability density functions

stat101a.html — stat101a.Rmd & stat101a.R

Shows:

- The most minimalistic code!
- How to Start your first ever code: you can do it in .R or in .Rmd!
- Your first simplest graph - Use
`qplot`

from `ggplot2`

library instead of base `plot`

function!
- Your first
`for`

loop to *automate* repetetive tasks - printing graphs for different probability density functions (PDF), in this case.
- Use of pipelines with
`%>%`

operator

#### Physics Labs in R - Learning Physics using R (or … Learning R using Physics).

Part 1: Computing a system’s characteristic from a set of observations

physics_with_R-01.html (also at https://rpubs.com/ivim/r101-w-physics01), physics_with_R-01.pdf — physics_with_R-01.Rmd

Shows:

- Pedagogical vs. historical approach to teaching R
- Key R concepts
- Your first Good coding practices rules
- Three (3) most needed libraries: data.table, ggplot and “%>%”
- Simply Rmarkdown tricks: Interactive Menus, Tabs Code Window popups

Check also recommendations on how to start learning R at https://open-canada.github.io/UseR/resources.html