clone_dot_edit_env | R Documentation |
Override environment via shim
clone_dot_edit_env(dot, ..., to_replace = list(...))
clone_step_edit(step, ..., to_replace = list(...))
clone_design_edit(design, ..., to_replace = list(...))
## Not run:
here_i_am <- "foo"
dot <- quo(here_i_am)
dot2 <- DeclareDesign:::clone_dot_edit_env(dot, here_i_am = "some_message", xyxyx = "bar")
rlang::eval_tidy(dot)
rlang::eval_tidy(dot2)
## End(Not run)
## Not run:
N <- 50
pop50 <- declare_model(N=N, noise=rnorm(N))
nrow(pop50())
pop100 <- DeclareDesign:::clone_step_edit(pop50, N=100)
nrow(pop100())
nrow(pop50())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.