From 67d7fc2c3c72f7649b80af6d5f6994f57b478bc6 Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Sun, 8 Feb 2015 01:31:51 -0600 Subject: [PATCH] updating for new wesanderson function signatures --- Chapter02/Chapter02.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter02/Chapter02.R b/Chapter02/Chapter02.R index 0f2c5a8..f2e0e15 100644 --- a/Chapter02/Chapter02.R +++ b/Chapter02/Chapter02.R @@ -12,7 +12,7 @@ chapterTheme <- BookTheme + theme(axis.title.y=element_blank()) + theme(panel.grid.minor=element_blank()) -paletteDark <- wes.palette(name = "Zissou", type = "continuous")(5)[c(5,2,1)] +paletteDark <- wes_palette(name="Zissou", n=5, type="continuous")[c(5,2,1)] paletteLight <- adjustcolor(paletteDark, alpha.f=.5) #####################################