diff --git a/CITATION.cff b/CITATION.cff index 6d73abd43..cb75ba2b6 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,7 +8,7 @@ message: 'To cite package "ggstatsplot" in publications use:' type: software license: GPL-3.0-only title: 'ggstatsplot: ''ggplot2'' Based Plots with Statistical Details' -version: 0.9.3.9000 +version: 0.9.4 doi: 10.21105/joss.03167 abstract: 'Extension of ''ggplot2'', ''ggstatsplot'' creates graphics with details from statistical tests included in the plots themselves. It provides an easier syntax @@ -268,8 +268,8 @@ references: email: vincent.arel-bundock@umontreal.ca orcid: https://orcid.org/0000-0003-2042-7063 year: '2022' - url: https://easystats.github.io/insight/ - version: '>= 0.18.0.1' + url: https://CRAN.R-project.org/package=insight + version: '>= 0.18.2' - type: software title: paletteer abstract: 'paletteer: Comprehensive Collection of Color Palettes' @@ -308,8 +308,8 @@ references: email: brenton@wiernik.org orcid: https://orcid.org/0000-0001-9560-6336 year: '2022' - url: https://easystats.github.io/parameters/ - version: '>= 0.18.1.8' + url: https://CRAN.R-project.org/package=parameters + version: '>= 0.18.2' - type: software title: patchwork abstract: 'patchwork: The Composer of Plots' @@ -351,8 +351,8 @@ references: email: brenton@wiernik.org orcid: https://orcid.org/0000-0001-9560-6336 year: '2022' - url: https://easystats.github.io/performance/ - version: '>= 0.9.1.1' + url: https://CRAN.R-project.org/package=performance + version: '>= 0.9.2' - type: software title: purrr abstract: 'purrr: Functional Programming Tools' @@ -400,7 +400,7 @@ references: given-names: Indrajeet email: patilindrajeet.science@gmail.com orcid: https://orcid.org/0000-0003-1995-6531 - version: '>= 1.3.2.9000' + version: '>= 1.3.3' year: '2022' - type: software title: tidyr diff --git a/DESCRIPTION b/DESCRIPTION index 1bfe8b5e0..59a36196c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: ggstatsplot Title: 'ggplot2' Based Plots with Statistical Details -Version: 0.9.3.9000 +Version: 0.9.4 Authors@R: c(person(given = "Indrajeet", family = "Patil", @@ -37,22 +37,17 @@ Imports: ggrepel, ggsignif, glue, - insight (>= 0.18.0.1), + insight (>= 0.18.2), paletteer, - parameters (>= 0.18.1.8), + parameters (>= 0.18.2), patchwork, - performance (>= 0.9.1.1), + performance (>= 0.9.2), purrr, rlang, stats, - statsExpressions (>= 1.3.2.9000), + statsExpressions (>= 1.3.3), tidyr, utils -Remotes: - easystats/insight, - easystats/parameters, - easystats/performance, - IndrajeetPatil/statsExpressions Suggests: afex, BayesFactor (>= 0.9.12-4.4), diff --git a/NEWS.md b/NEWS.md index 7be656c6b..3f175cb80 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,10 +1,12 @@ -# ggstatsplot 0.9.3.9000 +# ggstatsplot 0.9.4 N.B. All statistical analysis in `{ggstatsplot}` is carried out in `{statsExpressions}`. Thus, to see changes related to statistical expressions, read the `NEWS` for that package: +- Internal housekeeping to adjust to changes in upstream dependencies. + # ggstatsplot 0.9.3 - Hot fix release to correct a failing example in CRAN daily checks. diff --git a/README.md b/README.md index fd38a34fd..75834a830 100644 --- a/README.md +++ b/README.md @@ -89,11 +89,11 @@ hours working on this package rather than what I was paid to do. šŸ˜ To see the detailed documentation for each function in the stable **CRAN** version of the package, see: -- [Publication](https://joss.theoj.org/papers/10.21105/joss.03167) +- [Publication](https://joss.theoj.org/papers/10.21105/joss.03167) -- [Vignettes](https://indrajeetpatil.github.io/ggstatsplot/articles/) +- [Vignettes](https://indrajeetpatil.github.io/ggstatsplot/articles/) -- [Presentation](https://indrajeetpatil.github.io/ggstatsplot_slides/slides/ggstatsplot_presentation.html#1) +- [Presentation](https://indrajeetpatil.github.io/ggstatsplot_slides/slides/ggstatsplot_presentation.html#1) ## Summary of available plots @@ -924,7 +924,7 @@ grouped_ggbarstats( ### `ggcoefstats` The function `ggcoefstats` generates **dot-and-whisker plots** for -regression models saved in a tidy data frame. The tidy dataframes are +regression models saved in a tidy data frame. The tidy data frames are prepared using `parameters::model_parameters()`. Additionally, if available, the model summary indices are also extracted from `performance::model_performance()`. @@ -933,28 +933,28 @@ Although the statistical models displayed in the plot may differ based on the class of models being investigated, there are few aspects of the plot that will be invariant across models: -- The dot-whisker plot contains a dot representing the **estimate** - and their **confidence intervals** (`95%` is the default). The - estimate can either be effect sizes (for tests that depend on the - `F`-statistic) or regression coefficients (for tests with `t`-, - ![\chi^{2}](https://latex.codecogs.com/png.image?%5Cdpi%7B110%7D&space;%5Cbg_white&space;%5Cchi%5E%7B2%7D "\chi^{2}")-, - and `z`-statistic), etc. The function will, by default, display a - helpful `x`-axis label that should clear up what estimates are being - displayed. The confidence intervals can sometimes be asymmetric if - bootstrapping was used. - -- The label attached to dot will provide more details from the - statistical test carried out and it will typically contain estimate, - statistic, and *p*-value.e - -- The caption will contain diagnostic information, if available, about - models that can be useful for model selection: The smaller the - Akaikeā€™s Information Criterion (**AIC**) and the Bayesian - Information Criterion (**BIC**) values, the ā€œbetterā€ the model is. - -- The output of this function will be a `{ggplot2}` object and, thus, - it can be further modified (e.g.Ā change themes) with `{ggplot2}` - functions. +- The dot-whisker plot contains a dot representing the **estimate** and + their **confidence intervals** (`95%` is the default). The estimate + can either be effect sizes (for tests that depend on the + `F`-statistic) or regression coefficients (for tests with `t`-, + ![\chi^{2}](https://latex.codecogs.com/png.image?%5Cdpi%7B110%7D&space;%5Cbg_white&space;%5Cchi%5E%7B2%7D "\chi^{2}")-, + and `z`-statistic), etc. The function will, by default, display a + helpful `x`-axis label that should clear up what estimates are being + displayed. The confidence intervals can sometimes be asymmetric if + bootstrapping was used. + +- The label attached to dot will provide more details from the + statistical test carried out and it will typically contain estimate, + statistic, and *p*-value.e + +- The caption will contain diagnostic information, if available, about + models that can be useful for model selection: The smaller the + Akaikeā€™s Information Criterion (**AIC**) and the Bayesian Information + Criterion (**BIC**) values, the ā€œbetterā€ the model is. + +- The output of this function will be a `{ggplot2}` object and, thus, it + can be further modified (e.g.Ā change themes) with `{ggplot2}` + functions. ``` r set.seed(123) @@ -1113,11 +1113,11 @@ For a more exhaustive account of this function, see the associated vignette- -### Extracting dataframes with statistical details +### Extracting data frames with statistical details -`{ggstatsplot}` also offers a convenience function to extract dataframes -with statistical details that are used to create expressions displayed -in `{ggstatsplot}` plots. +`{ggstatsplot}` also offers a convenience function to extract data +frames with statistical details that are used to create expressions +displayed in `{ggstatsplot}` plots. ``` r set.seed(123) @@ -1227,27 +1227,27 @@ ggplot(morley, aes(x = as.factor(Expt), y = Speed)) + ## Summary of benefits of using `{ggstatsplot}` -- No need to use scores of packages for statistical analysis (e.g., - one to get stats, one to get effect sizes, another to get Bayes - Factors, and yet another to get pairwise comparisons, etc.). +- No need to use scores of packages for statistical analysis (e.g., one + to get stats, one to get effect sizes, another to get Bayes Factors, + and yet another to get pairwise comparisons, etc.). -- Minimal amount of code needed for all functions (typically only - `data`, `x`, and `y`), which minimizes chances of error and makes - for tidy scripts. +- Minimal amount of code needed for all functions (typically only + `data`, `x`, and `y`), which minimizes chances of error and makes for + tidy scripts. -- Conveniently toggle between statistical approaches. +- Conveniently toggle between statistical approaches. -- Truly makes your figures worth a thousand words. +- Truly makes your figures worth a thousand words. -- No need to copy-paste results to the text editor (MS-Word, e.g.). +- No need to copy-paste results to the text editor (MS-Word, e.g.). -- Disembodied figures stand on their own and are easy to evaluate for - the reader. +- Disembodied figures stand on their own and are easy to evaluate for + the reader. -- More breathing room for theoretical discussion and other text. +- More breathing room for theoretical discussion and other text. -- No need to worry about updating figures and statistical details - separately. +- No need to worry about updating figures and statistical details + separately. ## Misconceptions about `{ggstatsplot}` @@ -1281,12 +1281,12 @@ are encouraged. Here are some simple ways in which you can contribute (in the increasing order of commitment): -- Read and correct any inconsistencies in the - [documentation](https://indrajeetpatil.github.io/ggstatsplot/) -- Raise issues about bugs or wanted features -- Review code -- Add new functionality (in the form of new plotting functions or - helpers for preparing subtitles) +- Read and correct any inconsistencies in the + [documentation](https://indrajeetpatil.github.io/ggstatsplot/) +- Raise issues about bugs or wanted features +- Review code +- Add new functionality (in the form of new plotting functions or + helpers for preparing subtitles) Please note that this project is released with a [Contributor Code of Conduct](https://indrajeetpatil.github.io/ggstatsplot/CODE_OF_CONDUCT.html). diff --git a/codemeta.json b/codemeta.json index bb294727b..6c4732454 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/IndrajeetPatil/ggstatsplot", "issueTracker": "https://github.com/IndrajeetPatil/ggstatsplot/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.9.3.9000", + "version": "0.9.4", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", @@ -398,14 +398,14 @@ "@type": "SoftwareApplication", "identifier": "insight", "name": "insight", - "version": ">= 0.18.0.1", + "version": ">= 0.18.2", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "sameAs": "https://github.com/easystats/insight" + "sameAs": "https://CRAN.R-project.org/package=insight" }, "10": { "@type": "SoftwareApplication", @@ -423,14 +423,14 @@ "@type": "SoftwareApplication", "identifier": "parameters", "name": "parameters", - "version": ">= 0.18.1.8", + "version": ">= 0.18.2", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "sameAs": "https://github.com/easystats/parameters" + "sameAs": "https://CRAN.R-project.org/package=parameters" }, "12": { "@type": "SoftwareApplication", @@ -448,14 +448,14 @@ "@type": "SoftwareApplication", "identifier": "performance", "name": "performance", - "version": ">= 0.9.1.1", + "version": ">= 0.9.2", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "sameAs": "https://github.com/easystats/performance" + "sameAs": "https://CRAN.R-project.org/package=performance" }, "14": { "@type": "SoftwareApplication", @@ -490,14 +490,14 @@ "@type": "SoftwareApplication", "identifier": "statsExpressions", "name": "statsExpressions", - "version": ">= 1.3.2.9000", + "version": ">= 1.3.3", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "sameAs": "https://github.com/IndrajeetPatil/statsExpressions" + "sameAs": "https://CRAN.R-project.org/package=statsExpressions" }, "18": { "@type": "SoftwareApplication", @@ -518,7 +518,7 @@ }, "SystemRequirements": null }, - "fileSize": "9541.454KB", + "fileSize": "9541.381KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/cran-comments.md b/cran-comments.md index 7ebd28e71..afdc3996f 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,16 +1,8 @@ -## Test environments - -* local Windows install, R 4.2.0 - -* ubuntu 18.04 (on gitub-actions-ci), R 4.2.0 - -* win-builder (devel and release) - ## R CMD check results 0 errors | 0 warnings | 0 note - - Hot fix release to correct a failing example in CRAN daily checks. +- Internal housekeeping to adjust to changes in upstream dependencies. ## revdepcheck results diff --git a/man/reexports.Rd b/man/reexports.Rd index f1a58e257..c5e3ffc41 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -23,8 +23,8 @@ These objects are imported from other packages. Follow the links below to see their documentation. \describe{ - \item{rlang}{\code{\link[rlang:injection-operator]{!!}}, \code{\link[rlang:splice-operator]{!!!}}, \code{\link[rlang:op-na-default]{\%|\%}}, \code{\link[rlang:op-null-default]{\%||\%}}, \code{\link[rlang:dyn-dots]{:=}}, \code{\link[rlang]{exec}}} + \item{rlang}{\code{\link[rlang:dyn-dots]{:=}}, \code{\link[rlang:injection-operator]{!!}}, \code{\link[rlang:splice-operator]{!!!}}, \code{\link[rlang:op-na-default]{\%|\%}}, \code{\link[rlang:op-null-default]{\%||\%}}, \code{\link[rlang]{exec}}} - \item{statsExpressions}{\code{\link[statsExpressions:reexports]{\%$\%}}, \code{\link[statsExpressions:reexports]{\%<-\%}}, \code{\link[statsExpressions:reexports]{\%<>\%}}, \code{\link[statsExpressions:reexports]{\%>\%}}, \code{\link[statsExpressions:reexports]{as_tibble}}, \code{\link[statsExpressions]{pairwise_comparisons}}, \code{\link[statsExpressions:reexports]{tibble}}} + \item{statsExpressions}{\code{\link[statsExpressions:reexports]{\%<-\%}}, \code{\link[statsExpressions:reexports]{\%<>\%}}, \code{\link[statsExpressions:reexports]{\%>\%}}, \code{\link[statsExpressions:reexports]{\%$\%}}, \code{\link[statsExpressions:reexports]{as_tibble}}, \code{\link[statsExpressions]{pairwise_comparisons}}, \code{\link[statsExpressions:reexports]{tibble}}} }}