getParamNr | R Documentation |
Either number of parameters or sum over parameter lengths.
getParamNr(par.set, devectorize = FALSE)
par.set |
ParamSet |
devectorize |
( |
integer
.
ps = makeParamSet( makeNumericParam("u"), makeDiscreteVectorParam("x", len = 2, values = c("a", "b")) ) getParamNr(ps) getParamNr(ps, devectorize = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.