Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I sort in descending order in r?



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

Post New Answer

More R Programming Interview Questions

What are the tools for debugging in R?

1 Answers  


How many tools for debugging present in r?

1 Answers  


What are r matrices and r matrices functions?

1 Answers  


Why is R Good for business?

1 Answers  


What are the rules to define a variable name in r programming language?

1 Answers  


How would you do a left and right join in r?

1 Answers  


How can you resample statistical tests in r language?

1 Answers  


Explain bor function?

1 Answers  


How can you simulate random walk model using r?

1 Answers  


What is compiler in r?

1 Answers  


What is oop in r?

1 Answers  


What is attribute function in r?

1 Answers  


Categories