>what is wrong? > > > > Your data is ihmo not correct imported
myArray <- read.table("c:/mydata.csv",sep=",",na.strings="") ...and it seems you have using quotes in your csv file so you should play with the additional parameter quotes in read.table. Type ?read.table.... Then check your data i.e. with edit(myArray) to look that columns imported well. regards, christian >______________________________________________ >R-help@stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > > > > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html