When I try to run the below code, I keep getting this error. Yesterday, I kept getting a different error mentioning cannot allocate a vector of size 34.3 MB
avg_users <- edx %>%
+ left_join(avg_movie_rating, by='movieId') %>%
+ group_by(userId) %>%
+ filter(n() >= 100) %>%
+ summarize(b_u = mean(rating - mu - b_i))
Error: Join columns must be present in data.
x Problem with