Dear sir,

I have a matrix like

a<-matrix(c(0,2,0,4,0,6,5,8,0),nrow=3)
colnames(a)<-c("F1","F2","F3")
rownames(a)<-c("A1","A2","A3")
a

   F1 F2 F3
A1  0  4  5
A2  2  0  8
A3  0  6  0

I want to extract all pairs (rownames, columnames) from which the value in
the matrix is 0

The result should be something like this

A1, F1
A2, F2
A3, F1
A3, F3

how it is possible?

thanks for your help....

Best Regards

Alberto

	[[alternative HTML version deleted]]


