Description Usage Arguments Value Examples
Robustly replace model parameters by ignoring capitalisation and order of replacment.
1 |
parms |
data object containing model parameters as a vector, a matrix or a non-nested list of vectors and matrices |
values |
vector or list of replacement values |
pnames |
if |
col |
column in matrix-like parameter objects |
slot |
character, name of a single list element of |
the manipulated parms
object (vector, matrix or list)
1 2 3 4 5 6 7 | data(parms_salmo_other)
parms_salmo_other <- setparms(parms_salmo_other, c("YZP","dummy", "EPSMIN", "dtt"), c(0.7, 66, 0.77, 0.1))
parms_salmo_other
data(parms_salmo_phyto)
parms_salmo_phyto <- setparms(parms_salmo_phyto, c("TOPTX", "vs"), c(28, 0.22), c(1, 3))
# parms_salmo_phyto <- setparms(parms_salmo_phyto, "KP", c(1.4, 1.5, 1.6), 1:3) # not yet possible
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.