Displaying 1 result from an estimated 1 matches for "tinfos2".
Did you mean:
tinfos
2009 Jan 22
1
melt stumbles over deleted columns
...314 id target 4370 fix_d 15
5 102 2 5 2655 vert distractor 4397 fix_d 17
6 102 2 6 3322 horiz distractor 6132 fix_d 26
> tinfos$variable <- NULL
> melt(tinfos)
Error: id variables not found in data: variable
Or:
> tinfos2 <- tinfos[,-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,...