Skip to contents

Read parameters from text file.

Usage

read_parameters(file, sep = ";", return_list = TRUE, ...)

Arguments

file

String with path to text file.

sep

String with separator of columns.

return_list

Logical if TRUE, parameters are returned as list.

...

Arguments passed on to read.table.

Value

list

Details

Creates a list with all parameters or starting values or parameters. Columns must be named 'parameter' and value'.

Examples

if (FALSE) { # \dontrun{
read_parameters(file = "starting-values.csv", sep = ";")
} # }