hello,

Hans Thompson wrote
> 
> 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.
> 

Yes, the transpose function, t().

Hope this helps,

Rui Barradas


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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to