View source: R/dMod_parameterHandling.R
pars2parframe | R Documentation |
Turn a pars vector into a single-row parframe
pars2parframe(pars, parameterSetId = "Base", obj = NULL)
pars |
setNames(outervalues, parnames) |
parameterSetId |
Identifier for this parameterset |
obj |
Objective function like normL2 |
parframe
Daniel Lill (daniel.lill@physik.uni-freiburg.de)
obj <- function(pars) {list(value = sum(pars^2))} pars = c(a = 1, b = 2) pars2parframe(pars, "base", obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.