Konversi matriks ke vektor di r

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