sumDuplicatedParsInObjlist | R Documentation |
Remove redundancies (happens when a parameter is duplicated and mapped to the same outer parameter). For example in est.grid = data.table(ID = 1, init_A = "Atot", Atot= "Atot", ...)
sumDuplicatedParsInObjlist(ol)
objlist |
objlist with potentially duplicated names |
objlist with duplicated gradient and hessian elements summed and redundancies removed
Daniel Lill (daniel.lill@physik.uni-freiburg.de)
ol <- dMod:::init_empty_objlist(c("S2" = 2, "S3" = 3, S2 = 3))
ol$gradient <- ol$gradient + 1:3
ol$hessian <- ol$hessian + 1:9
sumDuplicatedParsInObjlist(ol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.