LG_shiny_writeLines: Writes the code needed for the calling of 'LG_shiny'

View source: R/LG_shiny_writeLines.R

LG_shiny_writeLinesR Documentation

Writes the code needed for the calling of LG_shiny

Description

The task of this function is to create a tiny script that can be used to call the LG_shiny-function, with the arguments main_dir and data_dir that is needed for the example under investigation.

Usage

LG_shiny_writeLines(main_dir, data_dir, con = stdout())

Arguments

main_dir

The path to the main directory, that contains the file-hierarchy created when using the local Gassian approach for the investigation of time series.

data_dir

The directory-component of the result from LG_approx.

con

A connection object or a character string, default value is stdout(). This argument is used when this function calls writeLines.

Value

This function writes a few lines of code that contains the details needed in order to start LG_shiny with the arguments main_dir and data_dir. Depending on the value of con, the result will either be sent to the terminal or it will be saved to file.


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