
Hi,

I am trying to add duplicates of matrix "mat" by row. Commands

subset(mat,duplicated(rownames(mat)))

or

mat[which(duplicated(rownames(mat))),]

return only half of the required indices. How can I find the remaining
ones, ie the matches, so that I can add them up?

Thanks,
Serguei

___________________________________________________________________

Austrian Institute of Economic Research (WIFO)

Name: Serguei Kaniovski       P.O.Box 91
Tel.: +43-1-7982601-231             Arsenal Objekt 20
Fax: +43-1-7989386                  1103 Vienna, Austria
Mail: Serguei.Kaniovski@wifo.ac.at  A-1030 Wien

http://www.wifo.ac.at/Serguei.Kaniovski
	[[alternative HTML version deleted]]

