[R] vector entry in matix

Thomas C. thomas.csapak at gmail.com
Thu Jul 5 18:37:54 CEST 2012

well thank you, i think we get closer to my problem. but i meant it in a
different way. maybe i describe what i intended to do:

i have number of triangles which i'd like to store in a list, matrix,...etc.
i thought it could look sth. like that:

triangle        node1            node2            node3   .....
     1               c(x1,y1)         c(x2,y3)          c(x3,y3)
     1               c(x4,y4)         c(x5,y5)          c(x6,y6)

i know that i could just make more rows for the x/y values but the problem
is, that i need to store more than these properties (say the neighbours of
these nodes and their coordinates) and i thought it would be more convenient
to save these as vectors. it was just a thought... is this possible?

View this message in context: http://r.789695.n4.nabble.com/vector-entry-in-matix-tp4635478p4635509.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list