powered by
Get the parameter values from reading a file
get_parameter_read(parameter, paramfile, strategycol = NA, strategyname = NA)
the paramvalue
parameter of interest
parameter file to be provided
treatment strategy
treatment strategy name in the column strategycol
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.
a <- get_parameter_read("cost_IT", paramfile = system.file("extdata", "table_param.csv", package = "packDAMipd"))
Run the code above in your browser using DataLab