POLY_MODEL$set_prm | R Documentation |
This function store the values in the environment and update
their values in the closed form expression of y
, except the parameter
sigma
, shape
and raw_z
. For parameter sigma
, its value will be updated,
and the corresponding value in e
will be updated. For parameter shape
, its
value will be updated, and the corresponding value in raw_z
will be
updated. For parameter raw_z
, its value will be updated, and the
corresponding value in z
will be updated.
prm_name |
List or Vector. Parameter character names. |
prm_val |
List or Vector. Parameter values. |
Return the object itself.
# Instantiate
mod <- poly_model(shape = 2, sigma = 0.5)
mod
mod$set_prm("shape", 4)
mod
mod$set_prm("sigma", 1)
mod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.