Displaying 1 result from an estimated 1 matches for "matb1".
Did you mean:
mat1
2013 Mar 07
1
Error: no 'dimnames' attribute for array
...L, 12L, 16L, 17L, 20L, 21L, 23L, 25L, 34L, 46L, 48L, 58L, 64L, 65L, 68L, 82L, 97L, 98L, 101L, 113L, 115L)
> dput(s)
structure("1,2,6,7,12,16,17,20,21,23,25,34,46,48,58,64,65,68,82,97,98,101,113,115", class = "noquote")
I want to use "s" in the following command
matb1<-res[,c(s))]
The objective is to call those columns of matrix "res", whose numbers have been defined in "s".
But when i plug "s" into "matb1" i get the following error
Error: no 'dimnames' attribute for array
How can i get rid of it??
thanks in...