create_param.Rd
Create a parameter
create_param(value = 1, indexes, desc)
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. |
A named list with the values and type for the variable.
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" #>