appendInputParams: Append Input Parameters to Data Frame

View source: R/replext_helpers.R

appendInputParamsR Documentation

Append Input Parameters to Data Frame

Description

This internal function appends the input parameters and a unique run code to the data frame of simulation results. It creates a comprehensive data frame that includes both the results and the parameters used for the simulation, facilitating easier tracking and analysis of the simulation runs.

Usage

appendInputParams(df, input)

Arguments

df

A data frame containing the simulation results.

input

A list of input parameters used in the simulation, typically sourced from the Shiny app's user inputs.

Value

A data frame that combines the original simulation results with the input parameters used in the simulation. Additionally, a unique run code is generated and appended to each row for identification purposes.


npboottprm documentation built on Sept. 13, 2024, 5:06 p.m.