Skip to content
Prev 69762 / 398525 Next

row.names need reordering

On Mon, 16 May 2005, Anders Schwartz Corr wrote:

            
Matrices strictly have rownames, data frames row.names.  So try

rownames(A) <- seq(len=nrow(A))

(to delete them, use NULL as the rhs).