LG_lookup: Lookup local Gaussian details based on the logged information

View source: R/LG_lookup.R

LG_lookupR Documentation

Lookup local Gaussian details based on the logged information

Description

This internal function creates a lookup-environment that combines different values from the logged information. The purpose is to collect the results of different minor computations, which is needed in several functions.

Usage

LG_lookup(input, .AB_env)

Arguments

input

A non-reactive version of the input-list generated by LG_shiny.

.AB_env

The environment that contains the desired information.

Details

This function will copy the values from input, and supplement those with values extracted from the information logged in .AB_env. Assorted logical values are computed from this, and some minor chunks of derived information is also created in the initial stage. These will be used later on in the functions involved in the interactive investigation of the different plots that can be created from the estimated local Gaussian correlations. Some additional specialised information is then added by the help of related lookup-functions.

Value

An environment will be returned to the workflow, in which there will be a basic component as specified under details, and then there are four lists with specialised information as outlined below:

restrict

This part is created by the help of LG_lookup_restrict, and it contains the information that is needed in order to extract the desired local Gaussian auto- and cross-correlations from the data-structure created by the scribe-functions.

cache

This part is created by the help of LG_lookup_cache, and it contains the unique cache-keys that enables a primitive caching-procedure to be used in the interactive LG_shiny-application.

details

This part is created by the help of LG_lookup_details, and it contains the information that is needed in order to describe the content of a given plot. This information will be added as an attribute when a plot is created in a nonreactive setting, which implies that it is easily available when a plot is to be included in a paper/presentation. See LG_explain_plots for further details.

curlicues

This part is created by the help of LG_lookup_curlicues, and it contains the details needed in order to annotate assorted information (curlicues) to the final plots. A plot-stamp that reveals the content of the plot will always be present together with information about the length of the sample and the number of replicates. Additional information will be added depending on the type of plot, this can e.g. be details related to the truncation level, the point of investigation, the bandwidth, the status for the numerical convergence of the estimates, or the block length used for the bootstrapping algorithm. See the scripts for examples related to how the annotated text can adjusted when the plots are created in a nonreactive setting.


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