Question: Remember, the sort() function sorts a vector into increasing order. A close relative is the order() function, which returns the indices that put the vector

Remember, the sort() function sorts a vector into increasing order. A close relative is the order() function, which returns the indices that put the vector into increasing order. Try the following code for an example. v<-c(10, 1, 1000, 100, 1) order(v) x<-order(v) v[x] As you can see, using the order function can do the same thing as the sort function. Use this idea to put jane.words.unique into increasing order in terms of the size of the words. Look at the last 75 elements of the sorted vector. What are your observations?

Answer should be in Rcode!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!