Last active
July 16, 2019 21:23
-
-
Save zappingseb/2e03d7531971386f5fd340ab3401854b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
formula_reactive <- reactive({ | |
validate(need(is.character(input$select_regressor), "Cannot work without selected column")) | |
regressors <- Reduce(function(x, y) call("+", x, y), rlang::syms(input$select_regressor)) | |
rlang::new_formula(rlang::sym("AVAL"), regressors) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment