6 Vectors and Matrices

Contents

Remember the coercion rules characters will be coerced to numbers; Numbers will be coerced to logicals where necessary.

length, dim, ncol, nrow
cbind, rbind
colnames, rownames
t
diag
sweep
as.matrix, data.matrix