I am trying to create a new df that contains the top 15 varieties of wines that show up the most in the data set that I am working with.
I am able to get the count of each variety, and arrange in descending order, but am having issues selecting just those top 15. Can someone help?
When I run the code below I get this error: Error: Column indexes must be at most 2 if positive, not 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 Call
rlang::last_error() to see a backtrace
WineReviewDataVar <- WineReviewData %>%
WineReviewData_Top15Var <- WineReviewDataVar %>%