I have a data set (data.txt) containing information on affection status
(1=affected; 0=not affected) for some subjects identified by an ID. Then I
have a sort of correlation matrix of the same subjects (matrix.txt). For
each affected subject in the data set I have to retrieve the IDs of
unaffected subjects from the matrix (if the condition “affected-unaffected
correlation<0.0165” is satisfied) and such IDs should  be placed in new
columns of the data set on the affected subject corresponding row.
Does anybody can help me?
data.txt <http://r.789695.n4.nabble.com/file/n4649721/data.txt>   matrix.txt
<http://r.789695.n4.nabble.com/file/n4649721/matrix.txt>  



--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-retrieve-data-from-a-matrix-tp4649721.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.

Reply via email to