As aes_ is deprecated, how to write the following using aes and quasiquotation, where customvar is the custom variable specified by the user or by code before the plot call?
graph <- graphdata %>%
ggplot()+
aes_(x = as.name(customvar),
y = ~yvar,
col = ~colvar,
lty = ~ltyvar)+