Type: | Package |
Title: | Framework for Easy Statistical Modeling, Visualization, and Reporting |
Version: | 0.7.5 |
Maintainer: | Daniel Lüdecke <d.luedecke@uke.de> |
Description: | A meta-package that installs and loads a set of packages from 'easystats' ecosystem in a single step. This collection of packages provide a unifying and consistent framework for statistical modeling, visualization, and reporting. Additionally, it provides articles targeted at instructors for teaching 'easystats', and a dashboard targeted at new R users for easily conducting statistical analysis by accessing summary results, model fit indices, and visualizations with minimal programming. |
License: | MIT + file LICENSE |
URL: | https://easystats.github.io/easystats/ |
BugReports: | https://github.com/easystats/easystats/issues |
Depends: | R (≥ 3.6) |
Imports: | bayestestR (≥ 0.16.1), correlation (≥ 0.8.8), datawizard (≥ 1.1.0), effectsize (≥ 1.0.1), insight (≥ 1.3.1), modelbased (≥ 0.12.0), parameters (≥ 0.27.0), performance (≥ 0.15.0), report (≥ 0.6.1), see (≥ 0.11.0), tools, utils |
Suggests: | collapse, DHARMa, DT, flexdashboard (≥ 0.6.2), Formula, ggplot2, glmmTMB, httr, jsonlite, knitr, marginaleffects (≥ 0.25.0), mockery, pak, patchwork, scholar, rmarkdown, testthat (≥ 3.2.1), withr, xml2 |
VignetteBuilder: | knitr |
Encoding: | UTF-8 |
Language: | en-US |
RoxygenNote: | 7.3.2 |
Config/testthat/edition: | 3 |
Config/Needs/website: | easystats/easystatstemplate |
NeedsCompilation: | no |
Packaged: | 2025-07-11 09:48:06 UTC; mail |
Author: | Daniel Lüdecke |
Repository: | CRAN |
Date/Publication: | 2025-07-11 10:40:02 UTC |
easystats: Framework for Easy Statistical Modeling, Visualization, and Reporting
Description
A meta-package that installs and loads a set of packages from 'easystats' ecosystem in a single step. This collection of packages provide a unifying and consistent framework for statistical modeling, visualization, and reporting. Additionally, it provides articles targeted at instructors for teaching 'easystats', and a dashboard targeted at new R users for easily conducting statistical analysis by accessing summary results, model fit indices, and visualizations with minimal programming.
Details
easystats
Author(s)
Maintainer: Daniel Lüdecke d.luedecke@uke.de (ORCID)
Authors:
Dominique Makowski dom.makowski@gmail.com (ORCID)
Mattan S. Ben-Shachar matanshm@post.bgu.ac.il (ORCID)
Indrajeet Patil patilindrajeet.science@gmail.com (ORCID)
Brenton M. Wiernik brenton@wiernik.org (ORCID)
Etienne Bacher etienne.bacher@protonmail.com (ORCID)
Rémi Thériault remi.theriault@mail.mcgill.ca (ORCID)
See Also
Useful links:
Reports citations for easystats publications
Description
This function reports the total number of Google Scholar citations for
easystats
publications through the scholar
package.
Usage
easystats_citations(sort_by = "year", length = 30)
Arguments
sort_by |
Name of the column that should be used for sorting. Can be
|
length |
Numeric, maximum length of the returned string. If not
|
Value
A data frame of four columns: title, journal, year, and cites.
Examples
## Not run:
easystats_citations()
## End(Not run)
List all packages in the easystats ecosystem
Description
List all packages in the easystats ecosystem
Usage
easystats_packages()
Value
A character vector
Examples
easystats_packages()
Update easystats-packages and its dependencies from CRAN, if necessary.
Description
Update easystats-packages and its dependencies from CRAN, if necessary.
Usage
easystats_update(which = "all")
Arguments
which |
String, indicates whether easystats-packages ( |
Details
If package {pak}
is installed, pak::pkg_install()
will be used
to install packages. Else, utils::install.packages()
is used.
Value
Invisible NULL
.
Examples
# check which local easystats-packages (and their dependencies)
# are out of date and install updates from CRAN
easystats_update()
# update only easystats core-packages
easystats_update("core")
Welcome to the easyverse
Description
Welcome to the easyverse
Usage
easystats_zen()
Value
A reassuring message.
Examples
easystats_zen()
Install the easystats suite from R-universe (GitHub) or CRAN
Description
This function can be used to install all the easystats packages, either latest development versions (from R-universe/GitHub) or the current versions from CRAN. If the development versions are installed, packages will be installed from the stable branch (master/main) for each package.
Usage
install_latest(
source = "development",
packages = "all",
force = FALSE,
verbose = TRUE
)
Arguments
source |
Character. Either |
packages |
Character vector, indicating which packages to be installed.
By default, the option |
force |
Logical, if |
verbose |
Toggle messages. |
Value
Invisible NULL
.
Examples
# install latest development-version of easystats packages from
# the r-universe repository, but only those packages that have newer
# versions available
install_latest()
# install all latest development-version of easystats packages from
# the r-universe repository, no matter whether local installations
# are up to date or not.
install_latest(force = TRUE)
Download all suggested packages
Description
In easystats
, we have a 0-dependency policy, which makes our packages
fairly light and fast to install. However, we rely on many many (many)
packages for testing (at least all the packages for functions that we
support) and some specific features. These "soft dependencies" can be
downloaded at once using this function. This will allow you to fully utilize
all of easystats' functionalities without errors.
Usage
install_suggested(package = "easystats")
show_suggested(package = "easystats")
show_reverse_dependencies(package = "easystats")
Arguments
package |
If |
Details
To reduce the dependency load, 'easystats' packages by default will
not download all internally needed packages. It will ask the user to download
them only if they are needed. The current function can help install all
packages a given 'easystats' package might need. For example,
install_suggested("see")
. show_suggested()
is a convenient helper to show
the current list of suggested packages for each 'easystats' package.
If package {pak}
is installed, pak::pkg_install()
will be used to install
packages. Else, utils::install.packages()
is used.
Value
Useful only for its side-effect of installing the needed packages.
Examples
# download all suggested packages
if (FALSE) {
install_suggested("easystats")
}
# listing all reverse dependencies of easystats packages
show_reverse_dependencies()
# listing all soft/weak dependencies of easystats packages
show_suggested()
Generate a regression model summary from easystats
Description
A dashboard containing the following details for the entered regression model:
tabular summary of parameter estimates
dot-and-whisker plot for parameter estimates
tabular summary of indices for the quality of model fit
collection of models for checking model assumptions
text report
model information table
Usage
model_dashboard(
model,
check_model_args = NULL,
parameters_args = NULL,
performance_args = NULL,
output_file = "easydashboard.html",
output_dir = getwd(),
rmd_dir = system.file("templates/easydashboard.Rmd", package = "easystats"),
quiet = FALSE,
browse_html = interactive()
)
Arguments
model |
A regression model object. |
check_model_args |
A list of named arguments that are passed down to
|
parameters_args |
A list of named arguments that are passed down to
|
performance_args |
A list of named arguments that are passed down to
|
output_file |
A string specifying the file name in |
output_dir |
A string specifying the path to the output directory for
report in |
rmd_dir |
A string specifying the path to the directory containing the
RMarkdown template file. By default, package uses the template shipped with
the package installation ( |
quiet |
An option to suppress printing during rendering from knitr,
pandoc command line and others. To only suppress printing of the last
"Output created: " message, you can set |
browse_html |
A logical deciding if the rendered HTML should be opened
in the browser. Defaults to |
Value
An HTML dashboard.
Troubleshooting
For models with many observations, or for more complex models in general,
generating the model assumptions plot might become very slow. One reason
is that the underlying graphic engine becomes slow for plotting many data
points. In such cases, setting the argument check_model_args = list(show_dots = FALSE)
might help. Furthermore, look at other arguments of ?performance::check_model
,
which can be set using check_model_args
, to increase performance (in
particular the check
-argument can help, to skip some unnecessary checks).
Examples
# define a regression model
mod <- lm(wt ~ mpg, mtcars)
# with default options
model_dashboard(mod)
# customizing 'parameters' output: standardize coefficients
model_dashboard(mod, parameters_args = list(standardize = "refit"))
# customizing 'performance' output: only show selected performance metrics
model_dashboard(mod, performance_args = list(metrics = c("AIC", "RMSE")))
# customizing output of model assumptions plot: don't show dots (faster plot)
model_dashboard(mod, check_model_args = list(show_dots = FALSE))
Objects exported from other packages
Description
These objects are imported from other packages. Follow the links below to see their documentation.
- insight