[R] automatic levels
mlennert at ulb.ac.be
Fri Apr 6 15:27:12 CEST 2001
Thanks for the extremely rapid response !
> On Fri, 6 Apr 2001, Moritz Lennert wrote:
> > Hello,
> > I've imported a csv, semi-colon spearated file with read.csv2,
> > containing one column of rownames and one column of floating point
> > numbers. When I look at the column of data with framename$columnname, I
> > get the values of the column plus level values. Are these level values
> > created automatically ?
> Yes. It thinks the columns is not numeric. Is read.csv2 actually
> appropriate? That is, are the numbers using `,' as the decimal separator?
> Maybe you should be using read.table( , sep=";")?
read.csv2 uses sep=";" as default.
The problem was the dec="," setting in read.csv2. My text file contained
Thanks again for your help !
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