Aliases: ggally_facetdensitystrip
Keywords: hplot
### ** Examples example(ggally_facetdensity)
gglly_> # Small function to display plots only if it's interactive gglly_> p_ <- GGally::print_if_interactive gglly_> data(tips, package = "reshape") gglly_> p_(ggally_facetdensity(tips, mapping = ggplot2::aes(x = total_bill, y = sex)))
gglly_> p_(ggally_facetdensity( gglly_+ tips, gglly_+ mapping = ggplot2::aes_string(y = "total_bill", x = "sex", color = "sex") gglly_+ ))
example(ggally_denstrip)
gglly_> # Small function to display plots only if it's interactive gglly_> p_ <- GGally::print_if_interactive gglly_> data(tips, package = "reshape") gglly_> p_(ggally_denstrip(tips, mapping = ggplot2::aes(x = total_bill, y = sex)))
Warning: Removed 15 rows containing missing values (geom_bar).
gglly_> p_(ggally_denstrip(tips, mapping = ggplot2::aes_string(x = "total_bill", y = "sex")))
Warning: Removed 15 rows containing missing values (geom_bar).
gglly_> p_(ggally_denstrip( gglly_+ tips, gglly_+ mapping = ggplot2::aes_string(x = "sex", y = "tip", binwidth = "0.2") gglly_+ ) + ggplot2::scale_fill_gradient(low = "grey80", high = "black"))
Warning: Removed 22 rows containing missing values (geom_bar).