search for: longname2

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

Did you mean: longname
2012 Feb 28
1
group calculations with other columns for the ride
...factor, but I'd like another column to go with each factor. The nm column is a long name for the lvls column. So unique work except for the order can get messed up. Example: x = data.frame(val=1:10,lvls=c('cat2',rep("cat1",4),rep("cat2",4),'cat1'),nm=c('longname2',rep("longname1",4),rep("longname2",4),'longname1')) x val lvls nm 1 1 cat2 longname2 2 2 cat1 longname1 3 3 cat1 longname1 4 4 cat1 longname1 5 5 cat1 longname1 6 6 cat2 longname2 7 7 cat2 longname2 8 8 cat2 longname2 9 9 cat2 long...