View source: R/LG_shiny_interface_0_create_log.R
LG_shiny_interface_0_create_log | R Documentation |
TS_logging
-object for the dynamic
LG_shiny
-interface.This function initiates the TS_logging
-object
needed for the dynamic structure of the
LG_shiny
-application to work properly. Moreover, it
does also adds a bunch of values to the reactive
input
-object in the shiny
-application started by
LG_shiny
.
LG_shiny_interface_0_create_log(.env, .env2)
.env |
The environment where the original arguments given to
|
.env2 |
The environment containing the two lists |
This function adds the TS_logging
-object into the
environment .env
. This object will log input-values in
order to avoid problems when switching between different
branches, i.e. it prevents residual input-values to trigger
subsetting problems. Moreover, the last selected input-values
for an old branch will be stored when there is a switch to a
new branch, and these will then be loaded the next time the old
branch is visited. The function does also add the initial
NA
-values to the reactive input
-object in the
shiny
-application started by LG_shiny
, and this
is done in order for some of the logical tests to become
simpler during the initiation phase.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.