To increase the readability of a pair plot, with many variables, I would like to round the coefficient of correlation provided by ggpairs()
function.
In the following example, instead of having a coefficient of 0.807 displayed, I would like to have 0.8.
library(GGally)
data(cars)
ggpairs(cars,
upper = list(continuous = wrap(ggally_cor, alignPercent = 0.8, size = 10)))