[ad_1]
I have a matrix with n number of columns with zero and non-zero values:
A B C
1 3 0
2 4 0
0 0 3
I want to extract all non zero values from column c and assign it to a new matrix or data frame. How would I go about doing that?
[ad_2]