This function is called in the mipplot_interactive_area() and provides R code to reproduce the currently drawn plot. This function cannot be used out of reactive expression in Shiny.
generate_code_to_plot_area(
input,
name_of_input_data_variable,
name_of_input_rule_table_variable
)This is the same as the input argument in the shiny:ui().
A string such as "ar5_sample_data".
A string such as "ar5_sample_rule".
A string representing the R code for rerun.