get_parameter_read: Get the parameter values from reading a file

Description Usage Arguments Details Value Examples

View source: R/2a_parameter_estimation_functions.R

Description

Get the parameter values from reading a file

Usage

1
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

1
2
a <- get_parameter_read("cost_IT", paramfile = system.file("extdata",
"table_param.csv", package = "packDAMipd"))

packDAMipd documentation built on March 3, 2021, 5:07 p.m.