Displaying 1 result from an estimated 1 matches for "4370l".
Did you mean:
4370
2009 Jan 22
1
melt stumbles over deleted columns
...infos[,-match("variable",names(tinfos))]
> melt(tinfos2)
Error in `rownames<-`(`*tmp*`, value = character(0)) :
attempt to set rownames on object with no dimensions
In addition: Warning messages:
1: In `[<-.factor`(`*tmp*`, ri, value = c(8471L, 4072L, 7040L, 4370L, :
invalid factor level, NAs generated
2: In `[<-.factor`(`*tmp*`, ri, value = c(0L, 0L, 1L, 0L, 0L, 0L, 0L, :
invalid factor level, NAs generated
I figure there must be some internal inconsistency in the data frame
after deletion. Does anybody have an idea how to fix that?...