This is an old revision of the document!
Cheat Sheat and Examples
reference: CheatSheat PDF
assignment
a <- 10
create a vector
a = c(2,3,8,0)
| Function | What it Calculates |
| mean(x) | Mean of the numbers in vector x. |
| median(x) | Median of the numbers in vector x |
| var(x) | Estimated variance of the population from which the numbers in vector x are sampled |
| sd(x) | standard deviation, square root of var(x) |