Plots the Scatter Density Plot

data(tips, package = "reshape")
 ggally_density(tips, mapping = ggplot2::aes(x = total_bill, y = tip))

plot of chunk ggally_density

ggally_density(tips, mapping = ggplot2::aes_string(x = "total_bill", y = "tip"))

plot of chunk ggally_density

ggally_density(
   tips,
   mapping = ggplot2::aes_string(x = "total_bill", y = "tip", fill = "..level..")
 )

plot of chunk ggally_density

ggally_density(
   tips,
   mapping = ggplot2::aes_string(x = "total_bill", y = "tip", fill = "..level..")
 ) + ggplot2::scale_fill_gradient(breaks = c(0.05, 0.1,0.15,0.2))

plot of chunk ggally_density