search for: 6.12377

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

2008 Mar 25
3
Output of order() incorrectly ordered?
Hello, I have a data frame consisting of four columns and would like to sort based on the first column and then write the sorted data frame to a file. > df <- read.table("file.txt", sep="\t") where file.txt is simply a tab-delimited file containing 4 columns of data (first 2 numeric, second 2 character). I then do, > df_ordered <- df[order(df$V1), ] OR,