LG_shiny_set_values: Set some values in the 'LG_shiny'-application

View source: R/LG_shiny_set_values.R

LG_shiny_set_valuesR Documentation

Set some values in the LG_shiny-application

Description

This internal function is used to update the values of the LG_shiny-application based on the content of the TS_logging-object.

Usage

LG_shiny_set_values(
  .env,
  .env2,
  .part = c("TS_info", "TCS_type", "var_local", "p_diag_bw", "spectrum_type",
    "second_graphical", "plots", "explanations", "derived_graphical")
)

Arguments

.env

The environment where the TS_logging-object lives.

.env2

The environment containing the two lists input and output.

.part

A reference to the part(s) of the input_triggers that we want to use as basis for the updating. The possible values are c("TS_info", "TCS_type", "var_local", "second_graphical", "plots", "explanations", "derived_graphical"). The default is that all these will be updated.

Value

This helper-function will take the values found in the TS_logging-object and use them to update both the reactive and non-reactive copies of the input-list that lives in the LG_shiny-application.


LAJordanger/localgaussSpec documentation built on May 6, 2023, 4:31 a.m.