How does a matrix differ from a data frame?
A data frame may contain variables of different lengths.
A data frame may contain variables that have different modes.
A matrix may contain numeric values only.
A matrix must not be singular.