as.objlist | R Documentation |
Generate objective list from numeric vector
as.objlist(p)
p |
Named numeric vector |
list with entries value (0
),
gradient (rep(0, length(p))
) and
hessian (matrix(0, length(p), length(p))
) of class obj
.
p <- c(A = 1, B = 2)
as.objlist(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.