[R] read.table
Diego Kuonen
Diego.Kuonen at epfl.ch
Thu Sep 7 12:58:36 CEST 2000
Pesl Thomas wrote:
> > r2<-read.table("h:\\matrix",header=T,dec=",",na.strings="-99")
> > dimnames(r2)
Why use the "header=T" argument if the first row of the file "matrix"
seems to contain numbers, and not the names for the variables?
Moreover, note that "read.table" has additional arguments like
"row.names": a vector of row names
and
"col.names": a vector of optional names for the variables
Greets
Diego
--
Diego Kuonen http://wap.kuonen.com http://stat.kuonen.com
http://www.Statoo.ch Kya aap statooed hai? http://www.Statoo.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list