Displaying 1 result from an estimated 1 matches for "snqueri".
Did you mean:
  squeri
  
2011 Mar 18
0
apply function returning different results
For some reason when I apply a function to a single row in R it works, but
when that same row is in a data.frame it does not, see below:
apply(dx[954,], 1, query.db)
            2571
1092  0.06044147
3890  0.05948577
3273  0.05911261
794   0.05855583
4241  0.05854064
3560  0.05602690
apply(dx[954:955,], 1, query.db)
$`2571`
numeric(0)
$`1194`
         908         3754         5119         2835