Sorting algorithms available in R

0 votes
What are the sorting algorithms present in R?
Aug 3, 2018 in Data Analytics by CodingByHeart77
• 3,680 points
606 views

2 answers to this question.

0 votes

The sorting algorithms present in R are as follows:

  • Bucket Sort
  • Selection Sort
  • Quick Sort
  • Bubble Sort
  • Merge Sort
answered Aug 3, 2018 by darklord
• 6,140 points
0 votes

R basically supports two different types of sorting. 

The first is comparison-based sorting, wherein all the key values of the input vector are directly compared with each other prior to ordering. 

The second type is non-comparison-based sorting, wherein computations are performed on each key value, and then the ordering is performed based on the computed values

Three Θ(n2) sorting algorithms:-

>Insertion sort

>Bubble sort

>Selection sort

  • Shell sort
  • Merge sort
  • Quicksort
  • Heapsort
  • Bin sort and radix sort
answered Aug 16, 2018 by zombie
• 3,690 points

Related Questions In Data Analytics

0 votes
1 answer

How can I list all the data sets available in all R packages?

You can use the below line of ...READ MORE

answered Sep 7, 2018 in Data Analytics by zombie
• 3,690 points
32 views
+1 vote
1 answer

Need a hadoop engine in backend to run r server

Dear Koushik, Hope you are doing great. The hadoop ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
47 views
0 votes
2 answers

Installing MXNet for R in Windows System

You can install it for python in ...READ MORE

answered Dec 3, 2018 in Data Analytics by Kalgi
• 39,330 points
286 views
0 votes
1 answer

Big Data transformations with R

Dear Koushik, Hope you are doing great. You can ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
44 views
0 votes
2 answers

Transforming a key/value string into distinct rows in R

We would start off by loading the ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,550 points
57 views
0 votes
1 answer

Finding frequency of observations in R

You can use the "dplyr" package to ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,550 points
108 views
0 votes
1 answer

Left Join and Right Join using "dplyr"

The below is the code to perform ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,550 points
96 views
0 votes
1 answer

How to change y axis max in time series using R?

The axis limits are being set using ...READ MORE

answered Apr 3, 2018 in Data Analytics by darklord
• 6,140 points
87 views
0 votes
2 answers

How to count unique values in R?

You can try this way, as.data.frame(v) %>% count(v) READ MORE

answered Aug 8 in Data Analytics by anonymous
1,134 views