Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 3037 packages in 0.03 seconds

bayesplot — by Jonah Gabry, 8 months ago

Plotting for Bayesian Models

Plotting functions for posterior analysis, MCMC diagnostics, prior and posterior predictive checks, and other visualizations to support the applied Bayesian workflow advocated in Gabry, Simpson, Vehtari, Betancourt, and Gelman (2019) . The package is designed not only to provide convenient functionality for users, but also a common set of functions that can be easily used by developers working on a variety of R packages for Bayesian modeling, particularly (but not exclusively) packages interfacing with 'Stan'.

mlexperiments — by Lorenz A. Kapsner, 6 months ago

Machine Learning Experiments

Provides 'R6' objects to perform parallelized hyperparameter optimization and cross-validation. Hyperparameter optimization can be performed with Bayesian optimization (via 'rBayesianOptimization' < https://cran.r-project.org/package=rBayesianOptimization>) and grid search. The optimized hyperparameters can be validated using k-fold cross-validation. Alternatively, hyperparameter optimization and validation can be performed with nested cross-validation. While 'mlexperiments' focuses on core wrappers for machine learning experiments, additional learner algorithms can be supplemented by inheriting from the provided learner base class.

mederrRank — by Sergio Venturini, 3 years ago

Bayesian Methods for Identifying the Most Harmful Medication Errors

Two distinct but related statistical approaches to the problem of identifying the combinations of medication error characteristics that are more likely to result in harm are implemented in this package: 1) a Bayesian hierarchical model with optimal Bayesian ranking on the log odds of harm, and 2) an empirical Bayes model that estimates the ratio of the observed count of harm to the count that would be expected if error characteristics and harm were independent. In addition, for the Bayesian hierarchical model, the package provides functions to assess the sensitivity of results to different specifications of the random effects distributions.

BayesXsrc — by Nikolaus Umlauf, 5 months ago

Distribution of the 'BayesX' C++ Sources

'BayesX' performs Bayesian inference in structured additive regression (STAR) models. The R package BayesXsrc provides the 'BayesX' command line tool for easy installation. A convenient R interface is provided in package R2BayesX.

RSE — by Youhua Chen, 8 years ago

Number of Newly Discovered Rare Species Estimation

A Bayesian-weighted estimator and two unweighted estimators are developed to estimate the number of newly found rare species in additional ecological samples. Among these methods, the Bayesian-weighted estimator and an unweighted (Chao-derived) estimator are of high accuracy and recommended for practical applications. Technical details of the proposed estimators have been well described in the following paper: Shen TJ, Chen YH (2018) A Bayesian weighted approach to predicting the number of newly discovered rare species. Conservation Biology, In press.

gammi — by Nathaniel E. Helwig, a year ago

Generalized Additive Mixed Model Interface

An interface for fitting generalized additive models (GAMs) and generalized additive mixed models (GAMMs) using the 'lme4' package as the computational engine, as described in Helwig (2024) . Supports default and formula methods for model specification, additive and tensor product splines for capturing nonlinear effects, and automatic determination of spline type based on the class of each predictor. Includes an S3 plot method for visualizing the (nonlinear) model terms, an S3 predict method for forming predictions from a fit model, and an S3 summary method for conducting significance testing using the Bayesian interpretation of a smoothing spline.

bcf — by Jared S. Murray, 2 years ago

Causal Inference using Bayesian Causal Forests

Causal inference for a binary treatment and continuous outcome using Bayesian Causal Forests. See Hahn, Murray and Carvalho (2020) for additional information. This implementation relies on code originally accompanying Pratola et. al. (2013) .

cmce — by Matthew T. Pratola, 8 years ago

Computer Model Calibration for Deterministic and Stochastic Simulators

Implements the Bayesian calibration model described in Pratola and Chkrebtii (2018) for stochastic and deterministic simulators. Additive and multiplicative discrepancy models are currently supported. See < http://www.matthewpratola.com/software> for more information and examples.

modelSelection — by David Rossell, 2 months ago

High-Dimensional Model Selection

Model selection and averaging for regression, generalized linear models, generalized additive models, graphical models and mixtures, focusing on Bayesian model selection and information criteria (Bayesian information criterion etc.). See Rossell (2025) (see the URL field below for its URL) for a hands-on book describing the methods, examples and suggested citations if you use the package.

remstimate — by Giuseppe Arena, 11 days ago

Optimization Frameworks for Tie-Oriented and Actor-Oriented Relational Event Models

Tools for fitting, diagnosing, and analyzing tie-oriented and actor-oriented relational event models, under both frequentist and Bayesian approaches. The package supports tie-oriented modeling (Butts, 2008, ) and an actor-oriented modeling framework (Stadtfeld et al., 2017, ), with additional model diagnostics and goodness-of-fit tools. Interfaces to estimation backends provide a range of extensions: random-effects (frailty) relational event models capturing sender, receiver, and dyadic heterogeneity (Juozaitiene & Wit 2024, ; Mulder & Hoff, 2024, ), finite mixture and dyadic latent class models for unobserved dyadic heterogeneity (Lakdawala et al., 2026, ), penalized estimation via the lasso, ridge, and elastic net (Tibshirani, R., 1996, ; Karimova et al., 2023, ), and approximate Bayesian regularization (Karimova et al., 2025, ). Modeling of events with a duration is also supported (Lakdawala et al., 2026, ) and moving window relational event models (Mulder & Leenders, 2019, ; Meijerink et al., 2023, ).