search for: schat_n

Displaying 1 result from an estimated 1 matches for "schat_n".

Did you mean: schagen
2008 Jul 02
2
Reading CSV file with unequal record length
...,0.6,0.7,0.8,0.9,1.0,1.2,1.3,1.5,1.7,2.0,2.3,2.8,4.2 1.0,9.0,0.0,0.1,0.1,0.1,0.2,0.2,0.3,0.4,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.2,1.4,1.6,1.9,2.2,2.9,4.2,, 1.0,10.0,0.0,0.1,0.1,0.2,0.2,0.3,0.3,0.4,0.5,0.6,0.8,1.0,1.3,1.6,2.4,3.6,6.0,,,,,,, when I use the following syntax to read the above written data schat_n<-data.frame(read.table("schat.csv", sep=",", header = FALSE, fill=TRUE)) the data is fine until record # 7 but it gets wrapped on id 8 & 9 and limits the column to 23 and remaining values are made into second record as shown below with 12 records instead 10 1.0,1.0,1...