LG_create_plot_df: Create the data needed when plotting the local Gaussian...

View source: R/LG_create_plot_df.R

LG_create_plot_dfR Documentation

Create the data needed when plotting the local Gaussian correlations and spectra.

Description

This internal function updates the environment given to the .env-argument with the data needed for the plots of the estimated local Gaussian correlations and spectra. A simple caching is performed in order to avoid computations being done more than once when this is used in the interactive setting of LG_shiny.

Usage

LG_create_plot_df(look_up, ..env)

Arguments

look_up

The list created by LG_lookup, containing the information needed in order to decide what kind of data-frame that is required.

..env

The environment containing the required information, and also the environment where the resulting environment will be stored.

Value

This function adds a new environment to the environment ..env, which contains the data needed for the function LG_plot to work as desired.


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