Part 2 of my R Tutorial - Doing Math with Scalars Vectors.
I show how to create variables in R and how to assign values (scalars or vectors) to them. I also show how to calculate with those variables in R and I use some mathematical functions like sum, prod, min, max, mean, var.