MgcViz
An R package for interactive visualization of GAM models
Install / Use
/learn @mfasiolo/MgcVizREADME
mgcViz: visual tools for Generalized Additive Models
The mgcViz R package offers visual tools for Generalized Additive Models (GAMs). The visualizations provided by mgcViz differs from those implemented in mgcv, in that most of the plots are based on ggplot2's powerful layering system. This has been implemented by wrapping several ggplot2 layers and integrating them with computations specific to GAM models. Further, mgcViz uses binning and/or sub-sampling to produce plots that can scale to large datasets (n = O(10^7)), and offers a variety of new methods for visual model checking/selection.
See the vignette for an introduction to the following categories of visualizations:
-
smooth and parametric effect plots: layered plots based on
ggplot2and interactive 3d visualizations based on thergllibrary; -
model checks: interactive QQ-plots, traditional residuals plots and layered residuals checks along one or two covariates;
-
special plots: differences-between-smooths plots in 1 or 2D and plotting multiple slices of multidimensional smooth effects.
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
