This internal function manages the simulation process in a Shiny app environment. It dynamically selects the appropriate simulation function based on the selected cell block and passes user inputs to this function. The function also handles the setting of a random number seed, if provided, to ensure reproducibility of results.
runSimulation(input)The result of the simulation function that corresponds to the selected cell block. This result is typically a data frame containing the outcomes of the simulation.
A list of inputs gathered from the Shiny app's UI, including the selected cell block and other parameters necessary for the simulation.