Create a parameter

create_param(value = 1, indexes, desc)

Arguments

value

a numeric vector with the value(s) to fill the array.

indexes

a named list with the indexes of the array.

desc

variable description.

Value

A named list with the values and type for the variable.

Examples

C <- c("sec1", "sec2", "sec3") create_param( value = 1, indexes = list(C = C), desc = "Parameter description" )
#> $value #> sec1 sec2 sec3 #> 1 1 1 #> #> $desc #> [1] "Parameter description" #>