pass character strings to ggplot2 within a function

0 votes
In order to streamline my work process, I frequently utilise ggplot2 and create wrapper functions. I am forced to utilise the actual variable names rather than character strings while using the non-standard evaluation (NSE) aes. In order to please ggplot2, I copy and rename dataframes and variable names. There must be a better approach. How can I avoid duplicating the dataframe and utilising generic column names by having ggplot2 accept unknown dataframes and column names using a function wrapper?
Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points

edited Mar 4 23 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP