TruncateParametersForSimulation {MIfuns} | R Documentation |
Function that truncates a set of parameters for simulation according to a user-defined set a boundaries.
TruncateParametersForSimulation(parameters, bounds)
parameters |
R dataframe containing the set of parameters that needs to be truncated. |
bounds |
R dataframe used to assign the parameter bounds. The dataframe should contain one row for each parameter that will be truncated and three columns with columns for parameter number (1,2,3, etc. corresponding to the column in /code{parameters} that needs to be truncated), the lower, and upper bound |
The function returns the parameters
dataframe containing the truncated set of parameters and a message
indicating the number of parameters that fell within the user-defined bounds.
Developed by Metrum Institute (Leonid Gibiansky, Bill Knebel, Tim Bergsma, and others).
MIfuns package available from Metrum Institute website (http://metruminstitute.org/
).