[R] why these expressions cann't be nested?
ronggui.huang at gmail.com
Fri Mar 24 16:21:58 CET 2006
> colnames(x) <- letters[1:5]
a b c d e
[1,] 1 2 3 4 5
[2,] 6 7 8 9 10
If I try to nest the above expressions,II get the error. I know there
is something wrong with it(and I won't write command like that
now),but I don't why.So anyone can explain it for me? Thank you!
> colnames(t(x)) <- letters[1:5]
Error: couldn't find function "t<-"
Deparment of Sociology
More information about the R-help