Description Usage Arguments Value Examples
Evaluate a delayed expression
1 |
delayed_expr |
delayed expression generated with method 'delayed_expr()“ |
the evaluated expression
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # define a delayed expression
x <- delayed_expr(size * 5 + 1)
# create a new expression
y = 1 + x + 5 * x - x
## Not run:
# generates an error, as size is not defined
delayed_eval(y)
## End(Not run)
# calculates expression y using size
size = 0.1
delayed_eval(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.