I\'m trying to color a ggplot by a factor that\'s mostly numerical, like so:
iris %>% ggplot(aes(Sepal.Length, Sepal.Width, color = cut(Petal.Length, 0:
Requires a call to scale_color_manual()
scale_color_manual()
iris %>% ggplot(aes(Sepal.Length, Sepal.Width, color = cut(Petal.Length, 0:7))) + geom_point() + scale_color_manual(values = c("red", viridis::viridis(6)))