CLOSED_FORM$set_expr | R Documentation |
This function updates the closed form expression. It will not update the symbol values. For updating symbol values, please check CLOSED_FORM$set_sym.
CLOSED_FORM$set_expr(expr)
expr |
Formula. Only the right hand side of the last |
Return the object itself.
# Constant variable
a <- 1
# Random uniform variable
z <- closed_form(~2 + a)
z$compute()
# Update the expression
z$set_expr(~2 - a)
z$compute()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.