get_parameter_read {packDAMipd} | R Documentation |
Get the parameter values from reading a file
Description
Get the parameter values from reading a file
Usage
get_parameter_read(parameter, paramfile, strategycol = NA, strategyname = NA)
Arguments
parameter |
parameter of interest |
paramfile |
parameter file to be provided |
strategycol |
treatment strategy |
strategyname |
treatment strategy name in the column strategycol |
Details
This function read the parameter from a file given that the file has these column names (at least) Parameter and Value Strategy col and name are optional. Check if the data file contains column names parameter and value and then get the results.
Value
the paramvalue
Examples
a <- get_parameter_read("cost_IT", paramfile = system.file("extdata",
"table_param.csv", package = "packDAMipd"))
[Package packDAMipd version 1.1.0 Index]