I am trying to set the x variable in a ggvis plot using input_select. Suppose the following base plot:
mtcars %>%
ggvis(~wt, ~mpg) %>%
layer_points()
I read here that I should use this expression:
prop(x = input_select(c("disp", "wt")), constant = FALSE)
But I don't know how to combine these two pieces of code.