search for: row_2

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

Did you mean: row2
2006 Nov 30
3
newbie: new_data_frame <- selected set of rows
...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
...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]]