[R] Transposing Data Frame does not return numeric entries

stephen sefick
2008-04-15T22:57:56Z

I have a species as rows and sites as columns matrix.  I would like to
tranpose this matrix so that I can do an NMDS analysis with the vegan
package.  I have used

y <- t(x)

and it indeed transposes the matrix, but it changes the whole make up

chr [1:193, 1:288] "oligocha" "0" " 0" "
0" " 0" "0" ...
 - attr(*, "dimnames")=List of 2
  ..$ : chr [1:193] "X" "upwd1201" "upwd0502"
"upwd0702" ...
  ..$ : NULL

the original matrix is numeric when I use str(x).  I would post the data but
it is large for a mailing list.  I have read help and I can't figure it out.

--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

	[[alternative HTML version deleted]]