HVL_shiny_create_log: Create 'HVL_logging'-object for the dynamic...

Description Usage Arguments Value

Description

This function initiates the HVL_logging-object needed in order for the dynamic structure of the HVL_shiny-application to work without any glitches. Moreover, it does also adds a bunch of values to the reactive input-object in the shiny-application started by HVL_shiny.

Usage

1

Arguments

.env

The environment where the original arguments given to HVL_shiny lives. The logging-object will be added to this environment.

Value

This function adds the HVL_logging-object into the environment .env. This object will log the 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 HVL_shiny, and this is done in order for some of the logical tests to become simpler during the initiation phase.


LAJordanger/HVLstatistikk documentation built on June 21, 2019, 7:56 p.m.