hi all,

i'm trying to get elements in a matrix into a vector.  i need a
"streamlined" way to do it as the way i'm doing it is not very
serviceable.  an example is a 3x3 matrix like

0 0 3
2 0 0
0 4 0

to a vector like

3 2 4

thanks...mj

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to