[R] Basic matrix manipulation problem

Hans Thompson hans.thompson1 at gmail.com
Thu Apr 26 01:26:43 CEST 2012


Is there a function I can use to invert the final table rows and columns? 
I'd like to plot the x and y so that I can place them with another point and
get coefficient values.  So:

      AAB  BAB  CCD  DCD
 x  1.75  2.25  3.25  3.75
>y  6.25  6.75  7.25  7.75

to "A"
            x      y
AAB   
BAB
CCD
DCD

then run the (x,y) values against either the origin or another point to get
the coefficient that the line between the two points gives.

Thanks.

--
View this message in context: http://r.789695.n4.nabble.com/Basic-matrix-manipulation-problem-tp4584734p4588406.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list