Hello! I'm new to R and could use some help.
I'm running into a problem that I'm sure has an easy answer, but I feel like an idiot for not finding it in R's documentation.
I'm trying to filter two columns; one has cells with numeric data and the other one has cells that are expressed in percentages.
My filter function is filtering out the former correctly, but it's not filtering the column with percents. Also, I'm not getting any error messages for the latter, which is why I'm so confused.
My project is here:
And the lines of code should be 25-26, or
best_trimmed_flavors_df <- trimmed_flavors_df %>%
filter("Cocoa\nPercent" >=75, Rating >= 3.9)