Consider the following example:
data(tips, package = "reshape") library(GGally) pm <- ggpairs(tips, mapping = aes(color = sex), columns = c("total_bill", "time", "tip")) pm

How to make density plots more transparent and remove black lines?
GGally packages seem to have changed recently and I can't find a working solution
Update
I found how to change alpha with a custom function:
my_dens <- function(data, mapping, ..., low = "#132B43", high = "#56B1F7") { ggplot(data = data, mapping=mapping) + geom_density(..., alpha=0.7) } pm <- ggpairs(tips, mapping = aes(color = sex), columns = c("total_bill", "time", "tip"), diag=list(continuous=my_dens)) pm
but the black line remains.
r ggplot2 ggally
spore234
source share