Answer by Rodrigo San Cristóbal Blanco for How to change the color palette...
Adding directly both + scale_fill_manual and + scale_colour_manual after your ggpairs code will work also:ggpairs( diamonds.samp[,1:2], mapping = ggplot2::aes(color = cut), upper = list(continuous =...
View ArticleAnswer by user20650 for How to change the color palette for GGally::ggpairs?
One solution is to extract each plot from the ggmatrix add a new scale_ and then reassign it back to the matrix.Examplelibrary(GGally)library(ggplot2)data(diamonds, package="ggplot2")diamonds.samp...
View ArticleHow to change the color palette for GGally::ggpairs?
This is the same question as inUser defined colour palette in R and ggpairs or is there a way to change the color palette for GGally::ggpairs using ggplot?only that the solutions there don't work...
View Article
More Pages to Explore .....