Skip to content
Prev 170570 / 398502 Next

matrix transpose

Roger wrote:
does it ever fail if you try the example in a fresh r session (i.e., one
without anything executed before this code)?

when it fails, what is t?  have you redefined t to be some other
function, in particular, a no-argument one, as here:

t = function() NULL

a = matrix(1:30, 5, 6)
t(a)
# Error in t(a) : unused argument(s) (1:30)

this is most likely what happens here.

vQ