Description Usage Arguments Details Value Examples

Convert lazy objects into a formula

1 | ```
formularise(lazy_formula, envir = parent.frame())
``` |

`lazy_formula` |
an object of class |

`envir` |
an environment that will be come the environment of the returned formula |

The expression of the lazy object is evaluated in its environment. If the result is not a formula, then the formula is created with an empty left hand side and the expression on the right hand side.

a formula

1 2 3 4 | ```
formularise(rlang::quo(foo))
formularise(rlang::quo(y ~ x))
bar <- a ~ b
formularise(rlang::quo(bar))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.