Creates a function that evaluates expressions in a future data.frame. Is like
`with()`

, but the data argument is passed at a later step.

delayed_with(...)

... | Expressions that will be evaluated. |
---|

A function that takes a `data.frame`

and returns the expressions in `...`

evaluated in an environment constructed from it.

Each expression in `...`

must return a single numeric value. They can be named or
return named vectors.

Other helper functions:
`densify()`

,
`draw_data()`

,
`mean_dist_to_sf()`

,
`mean_dist_to()`

,
`mean_self_proximity()`

,
`moments_n()`

,
`truncate_to()`

some_stats <- delayed_with(mean_x = mean(x), mean(y), sd(x), coef(lm(x ~ y))) data <- data.frame(x = rnorm(20) , y = rnorm(20)) some_stats(data)#> mean_x (Intercept) y #> -0.31003022 0.01430382 1.12469485 -0.31289146 0.20003338