converter uma matriz em um vetor em r

as.vector(my_mat)                    # Applying as.vector function
Grumpy Goose