generate_code_to_plot_line {mipplot}R Documentation

generate code to reproduce line plot

Description

from 'input' argument generally used in reactive context in Shiny, this function generates R code to reproduce current plot. This function could not used out of reactive expression in Shiny.

Usage

generate_code_to_plot_line(input, name_of_iamc_data_variable = "D")

Arguments

input

it is same as the argument of shiny::ui() this function accesses following attributes: - model - period - variable - scenario - region

name_of_iamc_data_variable

name of IAMC data variable

Value

R code


[Package mipplot version 0.3.1 Index]