Skip to content
Prev 16858 / 398513 Next

row.names in read.table()

On Mon, 4 Feb 2002, Ko-Kang Kevin Wang wrote:

            
As help(read.table) says

     If `row.names' is not specified and the header line has one less
     entry than the number of columns, the first column is taken to be
     the row names.

This lets you have the row names as the first column of the data.

	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._