How do I sort in descending order in r?
Answer / Atalesh Kumar Verma
In R, you can use the 'sort' function with the 'decreasing=TRUE' argument to sort a vector in descending order. For example: sort(myVector, decreasing=TRUE). If myVector is not a vector, you should first convert it to a vector using as.vector().
| Is This Answer Correct ? | 0 Yes | 0 No |
What is JIT in R?
What are the different packages in r?
Name the functions which helps in importing data from other applications in R?
What is data mining and what data miners do in R?
Explain the significance of transpose in r language
Write the full form MANOVA and why is it used?
How you can start the r commander gui?
What is R studio and how to use it?
Which function in r language is used to find out whether the means of 2 groups are equal to each other or not?
How to request an input from the user through keyboard and monitor?
Explain how to manipulate list elements in r?
What do you understand by R cluster analysis?