0

I am using a dataset of movie lens in R and I am trying to filter out the movies that are both thriller and the ratings are above 4, and i can not figure out how i will join the RateMovies and RateNames together.

    Thriller <- which(movielens$genres == "Thriller")
    ThriName <- movielens$title[Thriller]
    
    RateMovies <- movielens$rating > 4
    
    RateNames <- movielens$title[RateMovies]
desertnaut
  • 46,107
  • 19
  • 109
  • 140

0 Answers0