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

Found 503 packages in 0.01 seconds

additive — by Hamada S. Badr, 2 years ago

Bindings for Additive TidyModels

Fit Generalized Additive Models (GAM) using 'mgcv' with 'parsnip'/'tidymodels' via 'additive' . 'tidymodels' is a collection of packages for machine learning; see Kuhn and Wickham (2020) < https://www.tidymodels.org>). The technical details of 'mgcv' are described in Wood (2017) .

slp — by Wesley Burr, 9 years ago

Discrete Prolate Spheroidal (Slepian) Sequence Regression Smoothers

Interface for creation of 'slp' class smoother objects for use in Generalized Additive Models (as implemented by packages 'gam' and 'mgcv').

cenGAM — by Zhou Fang, 9 months ago

Censored Regression with Smooth Terms

Implementation of Tobit type I and type II families for censored regression using the 'mgcv' package, based on methods detailed in Woods (2016) .

tidygam — by Stefano Coretta, a year ago

Tidy Prediction and Plotting of Generalised Additive Models

Provides functions that compute predictions from Generalised Additive Models (GAMs) fitted with 'mgcv' and return them as a tibble. These can be plotted with a generic plot()-method that uses 'ggplot2' or plotted as any other data frame. The main function is predict_gam().

gam.hp — by Jiangshan Lai, 3 months ago

Hierarchical Partitioning of Adjusted R2 and Explained Deviance for Generalized Additive Models

Conducts hierarchical partitioning to calculate individual contributions of each predictor towards adjusted R2 and explained deviance for generalized additive models based on output of 'gam()' and 'bam()' in 'mgcv' package, applying the algorithm in this paper: Lai(2024) .

psme — by Zheyuan Li, 3 months ago

Penalized Splines Mixed-Effects Models

Fit penalized splines mixed-effects models (a special case of additive models) for large longitudinal datasets. The package includes a psme() function that (1) relies on package 'mgcv' for constructing population and subject smooth functions as penalized splines, (2) transforms the constructed additive model to a linear mixed-effects model, (3) exploits package 'lme4' for model estimation and (4) backtransforms the estimated linear mixed-effects model to the additive model for interpretation and visualization. See Pedersen et al. (2019) and Bates et al. (2015) for an introduction. Unlike the gamm() function in 'mgcv', the psme() function is fast and memory-efficient, able to handle datasets with millions of observations.

spotr — by Jonas Knape, 9 months ago

Estimate Spatial Population Indices from Ecological Abundance Data

Compute relative or absolute population trends across space and time using predictions from models fitted to ecological population abundance data, as described in Knape (2025) . The package supports models fitted by 'mgcv' or 'brms', and draws from posterior predictive distributions.

easyViz — by Luca Corlatti, 10 days ago

Easy Visualization of Conditional Effects from Regression Models

Offers a flexible and user-friendly interface for visualizing conditional effects from a broad range of regression models, including mixed-effects and generalized additive (mixed) models. Compatible model types include lm(), rlm(), glm(), glm.nb(), betareg(), and gam() (from 'mgcv'); nonlinear models via nls(); generalized least squares via gls(); and survival models via coxph() (from 'survival'). Mixed-effects models with random intercepts and/or slopes can be fitted using lmer(), glmer(), glmer.nb(), glmmTMB(), or gam() (from 'mgcv', via smooth terms). Plots are rendered using base R graphics with extensive customization options. Approximate confidence intervals for nls() and betareg() models are computed using the delta method. Robust standard errors for rlm() are computed using the sandwich estimator (Zeileis 2004) . For beta regression using 'betareg', see Cribari-Neto and Zeileis (2010) . For mixed-effects models with 'lme4', see Bates et al. (2015) . For models using 'glmmTMB', see Brooks et al. (2017) . Methods for generalized additive models using 'mgcv' follow Wood (2017) .

autogam — by Chitu Okoli, a year ago

Automate the Creation of Generalized Additive Models (GAMs)

This wrapper package for 'mgcv' makes it easier to create high-performing Generalized Additive Models (GAMs). With its central function autogam(), by entering just a dataset and the name of the outcome column as inputs, 'AutoGAM' tries to automate the procedure of configuring a highly accurate GAM which performs at reasonably high speed, even for large datasets.

splineplot — by Jinseob Kim, 2 months ago

Visualization of Spline Effects in GAM and GLM Models

Creates 'ggplot2'-based visualizations of smooth effects from GAM (Generalized Additive Models) fitted with 'mgcv' and spline effects from GLM (Generalized Linear Models). Supports interaction terms and provides hazard ratio plots with histograms for survival analysis. Wood (2017, ISBN:9781498728331) provides comprehensive methodology for generalized additive models.