powered by
Sort a Ranges object
# S3 method for Ranges arrange(.data, ...)
A Ranges object.
Comma seperated list of variable names.
A sorted Ranges object
# NOT RUN { rng <- as_iranges(data.frame(start = 1:10, width = 10:1)) rng <- mutate(rng, score = runif(10)) arrange(rng, score) # you can also use dplyr::desc to arrange by descending order # }
Run the code above in your browser using DataLab