saving . . . saved group_by() has been deleted. group_by() has been hidden .
group_by()
Title
Question
gr_dramaMov <- group_by(dramaMov,
                        mpaa_rating)
When I checked the gr_dramaMov dataframe after execution of above line , they don't appear to be grouped like "R" rated would be closer to one another , "PG-13" rated would be closer to one another and so on..

R Pipe-Operator 06-07 min 30-40 sec 16-10-20, 10:21 p.m. DVB

Answers:

group_by() doesn't change the the view properties of the data. It actually changes the the behavior of the data. Means how the data is going to work or you can the nature of the data. That you can say is the limitation of dplyr library built group_by() function.

NOTE:
The use ofgroup_by()  function can be seen when you use a certain manipulation function like summarise(), mean() etc.
Like in your case { R Pipe-Operator 06-07 min 30-40 sec } after the use of summarise() function you will be able to get the results.

Hope this thread helps you.....
26-11-20, 7:17 p.m. Abhijeet2001


Log-in to answer to this question.