Load data to your workspace by executing
source("http://www3.nd.edu/~steve/computing_with_data_2014/4_Matrices/work_along_data_S4.R")
Subsetting and assignment
- Replace the NA values in M2 by 0’s
rbind and cbind
- Form a matrix that binds the columns of M1 and the matrix z. Check that the dimensions match first.
- What happened to the numbers?