### RE: What are the two advantages of using the function cbind() and rbind() over the function matrix() when creating matrices?

What are the two advantages of using the function cbind() and rbind() over the function matrix() when creating matrices?

- You don’t need to pass it an input vector explicitly that is then converted to a matrix.
- You can put different vector types inside a matrix with cbind() and rbind().
- You don’t have to explicitly state the way in which the matrix has to be filled.
- You don’t need to pass parameters to either function.

Advantages of using the function cbind() and rbind() over the function matrix() is

- You don’t need to pass it an input vector explicitly that is then converted to a matrix and
- You don’t have to explicitly state the way in which the matrix has to be filled.