mount_appdata: Mount 'KinPairData' Objects for use in kindisperse app

Description Usage Arguments Value See Also Examples

View source: R/app_ports.R

Description

This function is part of a suite of functions handling the interface between the kindisperse app & R package. Due to how shiny's interactive programming works, ordinary objects are not visible to the reactive functions embedded in the app. The solution implemented here is to construct a custom environment, env_appdata, that is accessible within the app and outside of it.

This function takes an object of class KinPairData or KinPairSimulation, assigns it an identifying name, and adds it to the app interface environment, making it accessible within the app. Once added, this object will be accessible under its name from the Load menue of the app. (The app interface uses the same function internally, enabling objects to be passed to the interface from the app also).

Usage

1

Arguments

x

An object of class KinPairData or KinPairSimulation

nm

character. A name to store the object as

Value

invisibly returns x.

See Also

Other app_ports: display_appdata(), reset_appdata(), reset_tempdata(), retrieve_appdata(), retrieve_tempdata(), retrieveall_appdata(), unmount_appdata()

Examples

1

kindisperse documentation built on July 28, 2021, 5:09 p.m.