Skip to content
Prev 65300 / 398502 Next

Suppressing observation numbers

Nam-Ky Nguyen wrote:

            
The (``relatively low level''?) function prmatrix() allows you to do
what you want:

	> prmatrix(model.matrix(m1),rowlab=rep("",27))

I have in the past suggested to the R Core Team that an argument be
added to print.matrix() and print.data.frame() to permit the
suppression of the printing of row names.  Something like
``print.row.names=TRUE''.  This would be easy to accomplish, since
print.matrix() and print.data.frame() simply call upon prmatrix().
However my suggestion has so far fallen upon deaf ears.

				cheers,

					Rolf Turner
					rolf at math.unb.ca