Displaying 1 result from an estimated 1 matches for "speciesna".
Did you mean:
speciesa
2006 May 23
2
transpose dataset to PC-ORD?
...on and
writes the file, but now the former row IDs are the first row in the
new file (NA,1,2,3), and the 4 leading spaces are "X, X.1, X.2,
X.3". I'd like to delete the first row and delete the first 4 values
of column1, without deleting the column.
NA,1,2,3
X,3,islands,NA
X.1,3,speciesNA
X.2,Q,Q,Q
X.3,sp1,sp2,sp3
site1,1,0,0
site2,0,1,2
site3,0,3,0
I have tried various tricks that I will not list/belabor here
(various col.names, row.names, header, Extract, etc commands). Any
further hints on code that will either stop R from adding these, or
strip them at the end?
(PS, yes, I...