search for: file_namr

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

Did you mean: file_name
2011 Oct 28
2
sorting data
....4400363878507 2300.05521684593 0 1 3 27469.1130543141 40.7540672493746 2299.32564458085 0 1 4 27442.3152643187 52.4342875797706 2277.18286686329 0 1 5 27440.7923082136 54.8003481512783 2274.49112409585 ..... I tried following : first i wanted just to sort 4th column >a<-read.tables("file_namr") >attributes(a) gives class as $class [1] "data.frame" and > sort(a[4]) Error in `[.data.frame`(x, order(x, na.last = na.last, decreasing = decreasing)) : undefined columns selected How can I sort the data according to value in 4th column and print along with other colum...