# This lesson introduces matrices and arrays in R. # Students will learn how to create, inspect, manipulate, # subset, and combine matrices, and how to work with # three-dimensional arrays. # Quick ...
# Similar to what you have learned with vectors, the standard operators like +, -, /, *, etc. # work in an element-wise way on matrices in R. # For example, 2 * my_matrix multiplies each element of my ...