We use the matrix() function to create a matrix from vectors. Similar to vectors, a matrix can only contain one type of value. 

Can you create a matrix that has only two rows?

Awesome! To create a matrix we need to provide a vector and specify the number of rows and columns.

Not quite! ncol is used to specify the number of columns a matrix should have.