[R] Simple question on replace a matrix row

anna lippelanna24 at hotmail.com
Sat Jan 30 00:07:39 CET 2010


Dennis, as soon as I do : > mat3[1, ] <- mat1  and class(mat3) I get a list
and not a matrix anymore...So yes you drove me to the problem, mat1 is not
one-row numeric matrix  but a list.

-----
Anna Lippel
-- 
View this message in context: http://n4.nabble.com/Simple-question-on-replace-a-matrix-row-tp1427857p1440044.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list