Tutorials from a computer scientist to help non computer scientists 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/]
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
fromggplot2
library instead of baseplot
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
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
- Interactive Menus, sub-pages,Code Window popup in Rmarkdown