diff --git a/DESCRIPTION b/DESCRIPTION index 31f98a06..89f9cc78 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,12 +2,12 @@ Package: sjPlot Type: Package Encoding: UTF-8 Title: Data Visualization for Statistics in Social Science -Version: 2.8.16 +Version: 2.8.16.1 Authors@R: c( person("Daniel", "Lüdecke", email = "d.luedecke@uke.de", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-8895-3206")), person("Alexander", "Bartel", role = "ctb", comment = c(ORCID = "0000-0002-1280-6138")), person("Carsten", "Schwemmer", email = "carsten.schwemmer@uni-bamberg.de", role = "ctb"), - person(given = "Chuck", family = "Powell", role = "ctb", email = "ibecav@gmail.com", comment = c(ORCID = "0000-0002-3606-2188")), + person(given = "Chuck", family = "Powell", role = "ctb", email = "ibecav@gmail.com", comment = c(ORCID = "0000-0002-3606-2188")), person(given = "Amir", family = "Djalovski", role = "ctb", email = "Amir.DJV@gmail.com"), person(given = "Johannes", family = "Titz", role = "ctb", email = "johannes@titz.science", comment = c(ORCID = "0000-0002-1102-5719"))) Maintainer: Daniel Lüdecke @@ -15,8 +15,8 @@ Description: Collection of plotting and table output functions for data visualization. Results of various statistical analyses (that are commonly used in social sciences) can be visualized using this package, including simple and cross tabulated frequencies, histograms, box plots, (generalized) linear models, - mixed effects models, principal component analysis and correlation matrices, - cluster analyses, scatter plots, stacked scales, effects plots of regression + mixed effects models, principal component analysis and correlation matrices, + cluster analyses, scatter plots, stacked scales, effects plots of regression models (including interaction terms) and much more. This package supports labelled data. License: GPL-3 diff --git a/NEWS.md b/NEWS.md index b79b6688..9c608d3f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# sjPlot 2.8.17 + +## Bug fixes + +* Fixed issues with renamed arguments in upstream package *ggeffects*. + # sjPlot 2.8.15 * Minor fix in vignettes. @@ -23,21 +29,21 @@ ## General -* Minor changes to work properly with updates of upstream packages and +* Minor changes to work properly with updates of upstream packages and various smaller bug fixes and improvements. - + # sjPlot 2.8.11 ## General -* Minor changes to work properly with updates of upstream packages and +* Minor changes to work properly with updates of upstream packages and various smaller bug fixes and improvements. # sjPlot 2.8.10 ## General -* Minor changes to work properly with updates of downstream packages and +* Minor changes to work properly with updates of downstream packages and various smaller bug fixes and improvements. # sjPlot 2.8.9 @@ -206,7 +212,7 @@ ## Bug fixes * Fixed bug in `plot_stackfrq()` for data frames with many missing values. -* Fixed bug with sorting frequencies in `plot_frq()` when vector had more labels than values. +* Fixed bug with sorting frequencies in `plot_frq()` when vector had more labels than values. * Fixed bug in `tab_model()` where `show.reflvl = TRUE` did not insert the reference category in first place, but in alphabetical order. # sjPlot 2.7.1 @@ -270,7 +276,7 @@ * Argument `string.est` in `tab_model()` did not overwrite the default label for the estimate-column-header. * Minor fix in `tab_model()` for mixed models that can't compute R2. * Fix issue in `tab_model()` when printing robust standard errors and CI (i.e. when using arguments `vcov*`). -* The `plot_likert()` option `reverse.scale = TRUE` resulted in `values = "sum.inside"` being outside and the other way around. This is fixed now. +* The `plot_likert()` option `reverse.scale = TRUE` resulted in `values = "sum.inside"` being outside and the other way around. This is fixed now. * `view_df()` mixed up labels and frequency values when value labels were present, but no such values were in the data. * Argument `wrap.labels` in `plot_frq()` did not properly work for factor levels. * Fix issue in `plot_models()` that stopped for some models. @@ -339,7 +345,7 @@ Following functions are now defunct: ## Bug fixes * `plot_model()` no longer automatically changes the plot-type to `"slope"` for models with only one predictor that is categorical and has more than two levels. -* `type = "eff"` and `type = "pred"` in `plot_model()` did not work when `terms` was not specified. +* `type = "eff"` and `type = "pred"` in `plot_model()` did not work when `terms` was not specified. * If robust standard errors are requested in `tab_model()`, the confidence intervals and p-values are now re-calculated and adjusted based on the robust standard errors. * `colors = "bw"` was not recognized correctly for `plot_model(..., type = "int")`. * Fix issue in `sjp.frq()` with correct axis labels for non-labelled character vectors. diff --git a/R/plot_type_eff.R b/R/plot_type_eff.R index ce174520..cf48e741 100644 --- a/R/plot_type_eff.R +++ b/R/plot_type_eff.R @@ -24,7 +24,7 @@ plot_type_eff <- function(type, dat <- ggeffects::ggpredict( model = model, terms = terms, - ci_lvl = ci.lvl, + ci_level = ci.lvl, type = pred.type, ... ) @@ -32,7 +32,7 @@ plot_type_eff <- function(type, dat <- ggeffects::ggemmeans( model = model, terms = terms, - ci_lvl = ci.lvl, + ci_level = ci.lvl, type = pred.type, ... ) @@ -40,7 +40,7 @@ plot_type_eff <- function(type, dat <- ggeffects::ggeffect( model = model, terms = terms, - ci_lvl = ci.lvl, + ci_level = ci.lvl, ... ) } diff --git a/R/plot_type_int.R b/R/plot_type_int.R index e5490acd..0cae37f1 100644 --- a/R/plot_type_int.R +++ b/R/plot_type_int.R @@ -102,7 +102,7 @@ plot_type_int <- function(model, dat <- ggeffects::ggpredict( model = model, terms = ia, - ci_lvl = ci.lvl, + ci_level = ci.lvl, type = pred.type, full.data = FALSE, ...