Skip to content

splineplot

0.3.0Package record

Visualization of Spline Effects in GAM and GLM Models

0packages depend
3.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Jinseob KimCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Zarathu

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

Changes in 0.3.0

New Features

  • **Survey-weighted model support**: Added support for svyglm and svycoxph models from the survey package
  • svyglm: Survey-weighted GLM models (logistic, Poisson, Gaussian) with ns() or bs() splines
  • svycoxph: Survey-weighted Cox proportional hazards models with ns() or bs() splines
  • Uses spline-coefficient extraction approach to avoid model.matrix contrasts issues with survey objects
  • Supports both single spline terms and interaction terms (ns(x) * group)
  • Survey-adjusted variance-covariance matrix (sandwich estimator) is properly used for confidence intervals
  • Moved splines from Suggests to Imports for direct basis construction in survey model path

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-25
  • ERROR12 OK, 1 ERROR2026-10-24
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • NOTE12 OK, 1 NOTE2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 520 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsiteYes · pkgdown
Help pages
2
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.7K
CRAN downloads in the past year
Rank #13,278 · ~10/day · ~307/mo
Daily download trend is not available in this view yet.
30230 days
87790 days
3.7K1 year
Compare downloads with other packages →
Also on92 r2u3 autocran

Repository

5Stars
0Forks
0Open issues
0Open PRs
1Releases
26Commits
1Commit identities
bsgamggplot2nsrspline
26 commits · Last activity 2026-03-30 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2025-10-24 · 42026-07-07 · 5
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/jinseob2kim/splineplot on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-10-24 · The repository has a site deploy workflow

pkgdown site last built 2025-10-24, before release 0.3.0 (2026-03-30)

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-09-18
    Named in .Rbuildignore: .claude
    Commits: at least 6 crediting it in the message
Models named in its commits
  • Claude Opus 4.51 commit · Jan 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing splineplot adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (0)
none
Imports (3)
ggplot2splinesstats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.1 (2025)
Copyright holder, Funder
Releases (4)

Pick two releases to compare their code metrics.

Package metadata

First published
2025-09-30
Total releases
4 / 1 yrs
License
Apache License 2.0 OSI
Download size
185 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("splineplot")
Kim, J., & Zarathu. (2026). splineplot: Visualization of Spline Effects in GAM and GLM Models (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.splineplot

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for splineplot version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy