search for: distance_from_query1

Displaying 2 results from an estimated 2 matches for "distance_from_query1".

Did you mean: distance_from_query2
2006 Nov 30
3
newbie: new_data_frame <- selected set of rows
...this does not work: for(i in distances[1:5]) top_five[i,] <- my_dataframe[i,] 2) after I got top_five I woul like to get the index of my query entry, something along Pythons top_five.index('query_string') 3) possibly combine values in distances with row names from my_dataframe: row_1 distance_from_query1 row_2 distance_from_query2 Thank you very much for your help Darek Kedra
2006 Nov 30
0
new_data_frame <- selected set of rows
...this does not work: for(i in distances[1:5]) top_five[i,] <- my_dataframe[i,] 2) after I got top_five I woul like to get the index of my query entry, something along Pythons top_five.index('query_string') 3) possibly combine values in distances with row names from my_dataframe: row_1 distance_from_query1 row_2 distance_from_query2 Thank you very much for your help Darek Kedra --------------------------------- [[alternative HTML version deleted]]