I am trying to get data frame in specific format. I have 3 attributes user_id, movie_id, movie_ranking. I want to display best movie_id and ranking for each user based on the maximal ranking.
I guess dplyr library is good for this, but I cannot really get it work.