Re: [R] problem with data frame to numeric transformation

2012-05-21 Thread Rui Barradas
Hello, You need to tell read.table that the table has headers. # needed 'header=TRUE' first <- read.table("RESIDSNEWr.csv", sep=";", quote="\"", header=TRUE)[c(1)] second <- read.table("RESIDSNEWr.csv", sep=";", quote="\"", header=TRUE)[c(2)] # see what they look like str(first) str(second) is.

[R] problem with data frame to numeric transformation

2012-05-21 Thread Ivette
http://r.789695.n4.nabble.com/file/n4630788/GOF_CGIK.R GOF_CGIK.R http://r.789695.n4.nabble.com/file/n4630788/RESIDSNEWr.csv RESIDSNEWr.csv In order to save place, I attach the data and the R code, for which I have 2 questions. 1/ I cannot convert successfully the data frames with names "first