Displaying 1 result from an estimated 1 matches for "clg1mpd".
2011 Apr 04
2
reading from text file that have different rowlength and create a data frame
...2 Var3 Var4 Var5
0 0.05 0.01 12
1 0.04 0.06 18 A
2 0.05 0.08 14
3 0.01 0.06 15 B
4 0.05 0.07 14 C
and so on
Inames<-as.data.frame(read.table("CLG1mpd.asc",header=T,comment=";"))
Inames<-as.matrix(read.table("example.txt",header=T,comment=";"))
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
:
line 1 did not have 5 elements
In bestcase scenerio, I want to fill the blank space wi...