Displaying 1 result from an estimated 1 matches for "zrdata".
Did you mean:
rdata
2002 Jan 18
2
length of dimnames???
...rror in as.matrix.data.frame(x) : length of dimnames[2] not
equal to array extent
I do not know what it means and could not find how to get around that
in the manual nor in the R search page.
Any idea?
Thanks,
jp
-----------------------------
> frame1 <- read.table("/Users/gattuso/zRdata/coca/oceanic.txt",
>header=TRUE,sep=",")
> frame2 <- read.table("/Users/gattuso/zRdata/coca/cellids.txt",
>header=TRUE,sep=",")
> frame1$celltype <- frame2[match(frame1$ID,frame2$ID),2]
> frame1$cellid <- frame2[match(frame1$ID,frame2$...