summaryrefslogtreecommitdiff
path: root/R/corplot.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/corplot.R')
-rw-r--r--R/corplot.R1
1 files changed, 1 insertions, 0 deletions
diff --git a/R/corplot.R b/R/corplot.R
index c18e904..cccc6de 100644
--- a/R/corplot.R
+++ b/R/corplot.R
@@ -61,6 +61,7 @@ corplot <- function(R, title = NULL){
mid = 'white',
high = 'blue',
midpoint = 0,
+ limits = c(-1, 1),
name = expression(rho)
) +
ggplot2::scale_x_discrete(limits = rev(levels(df$i))) +