Here is how I get mat1: I have a matrix mainMat of 4 rows and 8 columns, I take the first row of it to build mat1. The problem might come from how I build mainMat --> each column comes from an lapply function which returns a list but I convert it to a matrix [4,1]...
----- Anna Lippel -- View this message in context: http://n4.nabble.com/Simple-question-on-replace-a-matrix-row-tp1427857p1430826.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.