Answer Posted / 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 |
Post New Answer View All Answers