Package: ggeffects 1.7.2.3

Daniel Lüdecke

ggeffects: Create Tidy Data Frames of Marginal Effects for 'ggplot' from Model Outputs

Compute marginal effects and adjusted predictions from statistical models and returns the result as tidy data frames. These data frames are ready to use with the 'ggplot2'-package. Effects and predictions can be calculated for many different models. Interaction terms, splines and polynomial terms are also supported. The main functions are ggpredict(), ggemmeans() and ggeffect(). There is a generic plot()-method to plot the results using 'ggplot2'.

Authors:Daniel Lüdecke [aut, cre], Frederik Aust [ctb], Sam Crawley [ctb], Mattan S. Ben-Shachar [ctb], Sean C. Anderson [ctb]

ggeffects_1.7.2.3.tar.gz
ggeffects_1.7.2.3.zip(r-4.5)ggeffects_1.7.2.3.zip(r-4.4)ggeffects_1.7.2.3.zip(r-4.3)
ggeffects_1.7.2.3.tgz(r-4.4-any)ggeffects_1.7.2.3.tgz(r-4.3-any)
ggeffects_1.7.2.3.tar.gz(r-4.5-noble)ggeffects_1.7.2.3.tar.gz(r-4.4-noble)
ggeffects_1.7.2.3.tgz(r-4.4-emscripten)ggeffects_1.7.2.3.tgz(r-4.3-emscripten)
ggeffects.pdf |ggeffects.html
ggeffects/json (API)
NEWS

# Install 'ggeffects' in R:
install.packages('ggeffects', repos = c('https://strengejacke.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/strengejacke/ggeffects/issues

Datasets:
  • coffee_data - Sample dataset from a course about analysis of factorial designs
  • efc - Sample dataset from the EUROFAMCARE project
  • efc_test - Sample dataset from the EUROFAMCARE project
  • fish - Sample data set
  • lung2 - Sample data set

On CRAN:

estimated-marginal-meanshacktoberfestmarginal-effectsprediction

30 exports 548 stars 15.18 score 1 dependencies 6 dependents 41 mentions 2.8k scripts 29.1k downloads

Last updated 6 hours agofrom:063f509cd3. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 13 2024
R-4.5-winOKOct 13 2024
R-4.5-linuxOKOct 13 2024
R-4.4-winOKOct 13 2024
R-4.4-macOKOct 13 2024
R-4.3-winNOTEOct 13 2024
R-4.3-macNOTEOct 13 2024

Exports:collapse_by_groupdata_gridget_complete_dfget_legend_labelsget_legend_titleget_titleget_x_labelsget_x_titleget_y_titleggaverageggeffectggemmeansggpredicthypothesis_testinstall_latestjohnson_neymannew_datapool_comparisonspool_predictionspredict_responsepretty_rangeprint_htmlprint_mdrepresentative_valuesresidualize_over_gridshow_palsspotlight_analysistest_predictionstheme_ggeffectsvalues_at

Dependencies:insight

Documentation of the ggeffects package

Rendered fromcontent.Rmdusingknitr::rmarkdownon Oct 13 2024.

Last update: 2024-06-07
Started: 2021-07-29

Readme and manuals

Help Manual

Help pageTopics
Adjusted predictions from regression modelsas.data.frame.ggeffects ggaverage ggeffect ggemmeans ggpredict
Sample dataset from a course about analysis of factorial designscoffee_data
Collapse raw data by random effect groupscollapse_by_group
Sample dataset from the EUROFAMCARE projectefc efc_test
Sample data setfish
Print and format ggeffects-objectsformat.ggcomparisons format.ggeffects print print.ggcomparisons print.ggeffects print_html.ggcomparisons print_html.ggeffects print_md.ggcomparisons print_md.ggeffects
Get titles and labels from dataget_complete_df get_legend_labels get_legend_title get_title get_x_labels get_x_title get_y_title
Update latest ggeffects-version from R-universe (GitHub) or CRANinstall_latest
Spotlight-analysis: Create Johnson-Neyman confidence intervals and plotsjohnson_neyman plot.ggjohnson_neyman spotlight_analysis
Sample data setlung2
Create a data frame from all combinations of predictor valuesdata_grid new_data
Plot ggeffects-objectsplot plot.ggeffects show_pals theme_ggeffects
Pool contrasts and comparisons from 'test_predictions()'pool_comparisons
Pool Predictions or Estimated Marginal Meanspool_predictions
Adjusted predictions and estimated marginal means from regression modelspredict_response
Create a pretty sequence over a range of a vectorpretty_range
Compute partial residuals from a data gridresidualize_over_grid residualize_over_grid.data.frame residualize_over_grid.ggeffects
(Pairwise) comparisons between predictions (marginal effects)hypothesis_test test_predictions test_predictions.default test_predictions.ggeffects
Calculate representative values of a vectorrepresentative_values values_at
Calculate variance-covariance matrix for adjusted predictionsvcov vcov.ggeffects