dropdown_to_filter.Rd
Dropdown Filter Example
dropdown_to_filter(flower)
flower | value in |
---|
ggplot object
dropdown_to_filter("setosa")# Code dropdown_to_filter#> function(flower) { #> subiris <- iris[iris$Species == flower, ] #> ggplot(subiris, aes(x = Sepal.Length, y = Petal.Length)) + #> geom_point(color = "#F00000") + #> ggtitle(paste("Sepals and Petals of Species ", flower)) #> } #> <environment: namespace:SepalsAndPetals>