On 03/10/2012 3:14 PM, Jason Love wrote:
Hi all,
Sorry about posting such a basic question, but I can't seem to find out a
way of flipping a column and row of a matrix.
In matlab, this can be easily done by putting a prime next to a variable
name. (e.g., a -> a')
If anyone knows, please help.

t(a) is the transpose of a.

Duncan Murdoch

______________________________________________
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