I am learning R and I was not able to find a comprehensive list of arguments which I can put into the aes() call. The RStudio help just states aes(x, y, ...) but that "...": How do I know what can be put there?
I found by calling ??aes I can get a good overview of what is possible (see here
https://bookdown.org/yih_huynh/Guide-to-R-Book/basic-aesthetics.html ).
But I also know from a course I can use arguments like "group". Example
library(dplyr)
library(ggplot2)
library(dslabs)
data(heights)
p <- heights %>%
ggplot(aes(height, group = sex)) +
geom_density()
So the question is: Is there a full list of arguments which I can use in the aesthetic mappings?