Learn R Programming

packDAMipd (version 1.1.0)

get_parameter_read: 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)

Value

the paramvalue

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.

Examples

Run this code
a <- get_parameter_read("cost_IT", paramfile = system.file("extdata",
"table_param.csv", package = "packDAMipd"))

Run the code above in your browser using DataLab