From c5b073a093036b4f63745749d5849355a772d459 Mon Sep 17 00:00:00 2001 From: t0tem Date: Tue, 24 Jan 2017 22:12:33 +0100 Subject: [PATCH] update ggpairs call when tried to reproduce on R 3.3.2 the error was thrown saying "Error in stop_if_params_exist(params) : 'params' is a deprecated argument. Please 'wrap' the function to supply arguments. help("wrap", package = "GGally")" apparently we have to use 'wrap' function now with ggpairs --- 07_RegressionModels/02_02_multivariateExamples/index.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07_RegressionModels/02_02_multivariateExamples/index.Rmd b/07_RegressionModels/02_02_multivariateExamples/index.Rmd index 8910b9e78..bda854410 100644 --- a/07_RegressionModels/02_02_multivariateExamples/index.Rmd +++ b/07_RegressionModels/02_02_multivariateExamples/index.Rmd @@ -48,7 +48,7 @@ All variables but Fertility give proportions of the population. ```{r, fig.height=6, fig.width=10, echo = FALSE} require(datasets); data(swiss); require(GGally); require(ggplot2) -g = ggpairs(swiss, lower = list(continuous = "smooth"),params = c(method = "loess")) +g = wrap(ggpairs(swiss, lower = list(continuous = "smooth")), params = c(method = "loess")) g ```