Hi,
this is becoming pretty much a joke. Spent all day trying to do such a simple thing.
How do you plot a variable through ggplot in a loop?
I have a table called "table_test" which is a result of aggregation for each variable and some statistics derived.
"Plotting function" is a function that plots statistics using "table_test" table.
if I use an actual variable name without any quotation marks - works like a charm
Plotting_function(table_test, Var_name_from_table)
But If I use proxy value from a loop - fails.
Var_from_loop <- Var_name_from_table
Plotting_function(table_test, Var_from_loop)
I have tried everything I could have though about, my colleagues tried helping me as well. Nothing.... How is this even possible...
Thanks