set_scale: Set scale

Description Usage Arguments Author(s) Examples

View source: R/set-scale.R

Description

Set the continuous fill scale of correlation matrix plot

Usage

1
2
3
set_scale(pal = NULL, type = "gradient2n", ...)

reset_scale()

Arguments

pal

NULL or colours.

type

a scale function or character of scale name (should be one of "gradient", "viridis" or "gradient2n").

...

extra parameters for scale function.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

Examples

1
2

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.