I have a matrix with `1` and `0` in it. For example:

```
M1 = matrix(c(1, 0, 1, 0, 1, 0), nrow=2, ncol=3, byrow = TRUE)
row.names(M1) <- c(100, 101)
colnames(M1) <- c("A", "B", "C")
M1

    A B C
100 1 0 1
101 0 1 0

```

Now I want to create a list of all the `values=1` in the matrix with the following syntax:

```
"row name"."column name", value

```

In this example the solution I'm looking for would be:

```
100.A, 1
100.C, 1
101.B, 1

```