Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

retrieveall_appdata

Retrieve all KinPairData objects from appdata (as list)


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 accesses the app interface environment and retrieves a named list of all objects (typically of classes KinPairData or KinPairSimulation contained within it, making them accessible outside of the app). This is used to quickly pass all simulation objects that were saved to this interface environment while using the app to the regular R environment (after closing the app).

Usage

retrieveall_appdata()

Value

Returns a list of objects stored in the appdata environment

See Also

Examples

mount_appdata(kin_pair_data(), "k1")
mount_appdata(kin_pair_simulation(), "s1")
retrieveall_appdata()

kindisperse

Simulate and Estimate Close-Kin Dispersal Kernels

v0.10.1
MIT + file LICENSE
Authors
Moshe-Elijah Jasper [aut, cre] (<https://orcid.org/0000-0003-4541-3223>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.