Download PDF
Vectors of numbers and defining variables
Matrices and linear algebra
Vectors of strings
Lists
Control flow
Functions
Dataframes
Terminal input and output
Read-Evaluate-Print-Loop (REPL) and R interpretter
t(v) to transpose
matrix function
matrix(1, nrow=3, nrow=2)
matrix(c(1,2,3,4,5,6),nrow=2)
invert M by solve(M)
mmult with
A %*% M A %*% v
dim() on matrix?