powered by
Useful if vectors are included.
getParamIds(par, repeated = FALSE, with.nr = FALSE)
[Param | ParamSet] Parameter or parameter set.
Param
ParamSet
[logical(1)] Should ids be repeated length-times if parameter is a vector? Default is FALSE.
logical(1)
FALSE
[logical(1)] Should number from 1 to length be appended to id if repeated is TRUE? Otherwise ignored. Default is FALSE.
repeated
TRUE
[character].
character
# NOT RUN { ps = makeParamSet( makeNumericParam("u"), makeIntegerVectorParam("v", len = 2) ) getParamIds(ps) getParamIds(ps, repeated = TRUE) getParamIds(ps, repeated = TRUE, with.nr = TRUE) # }
Run the code above in your browser using DataLab