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 is JIT in R?

1 Answers  


What are the different packages in r?

1 Answers  


Name the functions which helps in importing data from other applications in R?

1 Answers  


What is data mining and what data miners do in R?

1 Answers  


Explain the significance of transpose in r language

1 Answers  


Write the full form MANOVA and why is it used?

1 Answers  


How you can start the r commander gui?

1 Answers  


What is R studio and how to use it?

1 Answers  


Which function in r language is used to find out whether the means of 2 groups are equal to each other or not?

1 Answers  


How to request an input from the user through keyboard and monitor?

1 Answers  


Explain how to manipulate list elements in r?

1 Answers  


What do you understand by R cluster analysis?

1 Answers  


Categories