View source: R/LG_plot_helper.R
LG_plot_helper | R Documentation |
LG_plot
.This function extracts the desired array of local Gaussian (auto- or cross-) correlations from file, and then it sends those to the relevant plot-function in order to create the plot of interest.
LG_plot_helper(main_dir, input, input_curlicues = NULL, .env)
main_dir |
The part of the |
input |
A list with the arguments needed in order to extract the desired data for the plot of interest. |
input_curlicues |
A list that can be used when this function
is used outside of the |
.env |
An environment in which |
This function is used as a helper in in the interactive
setup of LG_shiny
, but it can also be called in a
non-reactive environment. The interactive interface can be
used to trigger the creation of the code needed in order to use
this function in a non-reactive setting (which can be of
interest e.g. when an example should be used in a
paper/presentation).
The plots created by this function when it is used in a
non-reactive setting, will contain an attribute details
that can be used to extract information about the content. The
function LG_extract_details
can be used to obtain the
same information that was available in the interactive
interface, or the user can extract the components of interest
in order to produce other presentations too.
The default behaviour is that a plot-object will be
returned, with attributes describing the content. The
information can be extracted from the plot-object by the help
of LG_explain_plot
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.