CLOSED_FORM$expr | R Documentation |
A language object.
# Constant variable
a <- 1
# Random uniform variable
b <- rand_uniform()
# Define a closed form expression
cf <- closed_form(omit~omit~3 * (exp(a) + b))
# Only the right hand side of the last `~` will be kept
cf$expr
d <- rand_normal()
# Define a closed form expression with another closed form expression
cf2 <- closed_form(~cf + 3 * d)
cf2$expr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.