Color Map on Correlations
Usage
alias_matrix(
design,
midpoint = 0.5,
digits = 3,
color_palette = "viridis",
alpha = 1,
direction = 1,
showplot = TRUE
)
Arguments
- design
Design of experiment (Without response)
- midpoint
A midpoint value between (0,1) to split the color scheme of three colors
- digits
number of digits to round correlation values. Default is 3
- color_palette
A character string indicating the color map option to use. Eight options are available: "viridis","cividis","magma","inferno","plasma","rocket","mako","turbo"
- alpha
The alpha transparency, a number in [0,1]
- direction
Sets the order of colors in the scale. If 1, the default, colors are ordered from darkest to lightest. If -1, the order of colors is reversed
- showplot
logical indicating to show the correlation plot. If false, the correlation/alias matrix is returned. Default is TRUE