corrBubble.Rd
This function creates an interactive bubble plot of correlations between variables in a dataset.
corrBubble(
mat,
display = c("all", "upper", "lower"),
pal = colorRampPalette(c("cornflowerblue", "white", "tomato"))(100)
)
A square correlation matrix to visualise.
A character vector specifying which part of the correlation matrix to display: 'all', 'upper', or 'lower', default is 'all'.
A color palette for the bubble plot.
An interactive bubble plot displaying correlations.
Creates an interactive bubble plot displaying correlation values. By hovering mouse over a cell, the variables and correlation value is shown.
cm <- cor(mtcars)
corrBubble(mat = cm,
display = 'all')