sum(x) yields the sum of a vector

length(x) yields the number of items in a vector

mean(x) mean value of x

seq(x, y, z) creates a sequence from x, to y, by z

rep(var, #) creates a vector that repeats var the # of times

?function

round(var, #)

Matrices

Example —>

x = c(1,2,3,4,5,6,7,8); y = c(1,2,1,2,1,2,1,2)
mat1 = cbind(x, y)