Package: modelbased 0.15.0.3

Dominique Makowski

modelbased: Estimation of Model-Based Predictions, Contrasts and Means

Implements a general interface for model-based estimations for a wide variety of models, used in the computation of marginal means, contrast analysis and predictions. For a list of supported models, see 'insight::supported_models()'.

Authors:Dominique Makowski [aut, cre], Daniel Lüdecke [aut], Mattan S. Ben-Shachar [aut], Indrajeet Patil [aut], Rémi Thériault [aut]

modelbased_0.15.0.3.tar.gz
modelbased_0.15.0.3.zip(r-4.7)modelbased_0.15.0.3.zip(r-4.6)modelbased_0.15.0.3.zip(r-4.5)
modelbased_0.15.0.3.tgz(r-4.6-any)modelbased_0.15.0.3.tgz(r-4.5-any)
modelbased_0.15.0.3.tar.gz(r-4.7-any)modelbased_0.15.0.3.tar.gz(r-4.6-any)
modelbased_0.15.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
modelbased/json (API)
NEWS

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

Bug tracker:https://github.com/easystats/modelbased/issues

Pkgdown/docs site:https://easystats.github.io

Datasets:
  • coffee_data - Sample dataset from a course about analysis of factorial designs
  • efc - Sample dataset from the EFC Survey
  • fish - Sample data set
  • puppy_love - More puppy therapy data

On CRAN:

Conda:

contrast-analysiscontrastseasystatsestimateggplot2hacktoberfestmarginalmarginal-effectsmeanspredict

13.08 score 261 stars 5 packages 527 scripts 25k downloads 31 exports 4 dependencies

Last updated from:547b1dae2c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK223
source / vignettesOK290
linux-release-x86_64OK208
macos-release-arm64OK133
macos-oldrel-arm64OK167
windows-develOK172
windows-releaseOK219
windows-oldrelOK178
wasm-releaseOK192

Exports:collapse_by_groupdescribe_nonlineardisplayestimate_contrastsestimate_expectationestimate_grouplevelestimate_linkestimate_meansestimate_predictionestimate_relationestimate_slopesestimate_smoothfind_inversionsget_emcontrastsget_emmeansget_emtrendsget_marginalcontrastsget_marginalmeansget_marginaltrendspool_contrastspool_predictionspool_slopesprint_htmlprint_mdreshape_grouplevelresidualize_over_gridsmoothingstandardizeunstandardizevisualisation_recipezero_crossings

Dependencies:bayestestRdatawizardinsightparameters

Overview of Vignettes

Rendered fromoverview_of_vignettes.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-04-26
Started: 2022-05-26

Readme and manuals

Help Manual

Help pageTopics
Converting modelbased-objects into raw data framesas.data.frame.estimate_contrasts
Sample dataset from a course about analysis of factorial designscoffee_data
Collapse raw data by random effect groupscollapse_by_group
Describe the smooth term (for GAMs) or non-linear predictorsdescribe_nonlinear describe_nonlinear.data.frame estimate_smooth
Printing modelbased-objectsdisplay.estimate_contrasts format.estimate_contrasts print.estimate_contrasts
Sample dataset from the EFC Surveyefc
Estimate Marginal Contrastsestimate_contrasts estimate_contrasts.default
Model-based predictionsestimate_expectation estimate_link estimate_prediction estimate_relation
Group-specific parameters of mixed models random effectsestimate_grouplevel estimate_grouplevel.brmsfit estimate_grouplevel.default reshape_grouplevel reshape_grouplevel.estimate_grouplevel
Estimate Marginal Means (Model-based average at each factor level)estimate_means
Estimate Marginal Effectsestimate_slopes
Sample data setfish
Consistent API for 'emmeans' and 'marginaleffects'get_emcontrasts get_emmeans get_emtrends get_marginalcontrasts get_marginalmeans get_marginaltrends
Global options from the modelbased packagemodelbased-options
Automated plotting for 'modelbased' objectsplot.estimate_means plot.estimate_predicted tinyplot.estimate_means visualisation_recipe.estimate_grouplevel visualisation_recipe.estimate_predicted visualisation_recipe.estimate_slopes
Pool contrasts and comparisons from 'estimate_contrasts()'pool_contrasts
Pool Predictions and Estimated Marginal Meanspool_predictions pool_slopes
More puppy therapy datapuppy_love
Compute partial residuals from a data gridresidualize_over_grid residualize_over_grid.data.frame
Smoothing a vector or a time seriessmoothing
Find zero-crossings and inversion pointsfind_inversions zero_crossings