generate_code_to_plot_bar {mipplot}R Documentation

generate code to reproduce bar plot

Description

This function is called in the mipplot_interactive_bar() and provides R code to reproduce the currently drawn plot. This function cannot be used out of reactive expression in Shiny.

Usage

generate_code_to_plot_bar(
  input,
  name_of_input_data_variable,
  name_of_input_rule_table_variable
)

Arguments

input

This is the same as the input argument in the shiny:ui().

name_of_input_data_variable

A string such as "ar5_sample_data".

name_of_input_rule_table_variable

A string such as "ar5_sample_rule".

Value

A string representing the R code for rerun.


[Package mipplot version 0.3.1 Index]