Aes with quasiquotation

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 %>% 
    aes_(x =,
        y = ~yvar,
        col = ~colvar,
        lty = ~ltyvar)+

the documentation that discusses the deprecation points to a fairly thorough vignette


If you would like concrete help relating to difficulty with particular code and data of yours, then please provide a reprex.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.