Skip to content

scam

1.2-22

Shape Constrained Additive Models

22packages depend
208Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Natalya PyaFirst published 2012-01-2034 releasesCRAN page ↗

Generalized additive models under shape constraints on the component functions of the linear predictor. Models can include multiple shape-constrained (univariate and bivariate) and unconstrained terms. Routines of the package 'mgcv' are used to set up the model matrix, print, and plot the results. Multiple smoothing parameter estimation by the Generalized Cross Validation or similar. See Pya and Wood (2015) doi:10.1007/s11222-013-9448-7 for an overview. A broad selection of shape-constrained smoothers, linear functionals of smooths with shape constraints, and Gaussian models with AR1 residuals.

Install

Health

CRAN checks
13OK
Slowest check: 5.7 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
98%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
74%
Documented parameters
83%
Return-value docs
90%
References docs
93%

Downloads

208K
CRAN downloads in the past year
Rank #709 · ~570/day · ~17.3K/mo
Daily download trend is not available in this view yet.
14.3K30 days
77.5K90 days
208K1 year
Compare downloads with other packages →
Also on6K r2u17 autocran5.5K conda_forge99 c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (6)
mgcvmethodsstatsgraphicsMatrixsplines
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

34 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2-22Latest
    2026-03-12 · current release · diff ↗
  • 1.2-21
    2026-01-22 · diff ↗
  • 1.2-20
    2025-10-14 · diff ↗
  • 1.2-19
    2025-05-26 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2-18
    2025-01-17 · diff ↗
  • 1.2-17
    2024-06-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2-16
    2024-02-23 · diff ↗
  • 1.2-15
    2024-01-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2-14
    2023-04-14 · diff ↗
  • 1.2-13
    2022-09-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2-12
    2021-08-10 · diff ↗
Show 34 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2-11
    2021-04-01 · diff ↗
  • 1.2-10
    2021-02-01 · diff ↗
  • 1.2-9
    2020-12-09 · diff ↗
  • 1.2-8
    2020-10-23 · diff ↗
  • 1.2-7
    2020-09-24 · diff ↗
  • 1.2-6
    2020-06-10 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2-5
    2019-08-19 · diff ↗
  • 1.2-4
    2019-06-14 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2-3
    2018-09-25 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2-2
    2017-09-24 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2-1
    2017-02-16 · diff ↗
  • 1.2-0
    2016-06-02 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1-9
    2015-06-19 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1-8
    2014-09-24 · diff ↗
  • 1.1-7
    2014-05-27 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.1-6
    2013-10-02 · diff ↗
  • 1.1-5
    2013-09-14 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1-4
    2012-10-08 · diff ↗
  • 1.1-3
    2012-09-23 · diff ↗
  • 1.1-2
    2012-08-05 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.1-1
    2012-01-28 · diff ↗
  • 1.1
    2012-01-22 · diff ↗
  • 1.0
    2012-01-20
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2012-01-20
Total releases
34 / 14 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Download size
185 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("scam")
Pya, N. (2026). scam: Shape Constrained Additive Models (Version 1.2-22) [Computer software]. https://doi.org/10.32614/CRAN.package.scam

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 scam version 1.2-22 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, 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