TruncateParametersForSimulation {MIfuns}R Documentation

Truncate a set of parameters for simulation

Description

Function that truncates a set of parameters for simulation according to a user-defined set a boundaries.

Usage

TruncateParametersForSimulation(parameters, bounds)

Arguments

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

Details

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.

Author(s)

Developed by Metrum Institute (Leonid Gibiansky, Bill Knebel, Tim Bergsma, and others).

References

MIfuns package available from Metrum Institute website (http://metruminstitute.org/).


[Package MIfuns version 3.2.9 Index]