<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Hi, <br><br>if you don't sort the matrix you can save the id's in an external vector (standalone vector or dataframe's field). It's also possible to save the id's as matrix rownames, for example:<br><br>rownames(matrix) <- dataframe$ID<br><br>Hadrien<br> <br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>rico8@libertysurf.fr<br><b>À: </b>traminer-users@lists.r-forge.r-project.org<br><b>Envoyé: </b>Mardi 24 Juillet 2012 15:41:34<br><b>Objet: </b>[Traminer-users] How to keep the identifier (id) in the final matrix cl1.4fac<br><br><style>p { margin: 0; }</style><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hello,</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">The first mvad column contains a unique identifier for each individual (id). I like to keep the identifier (id) in the final matrix cl1.4fac. How do I do?</div><div><font face="arial, helvetica, sans-serif">Sincerely,</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Rico</font></div></div><br>_______________________________________________<br>Traminer-users mailing list<br>Traminer-users@lists.r-forge.r-project.org<br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users</div><br></div></body></html>