Skip to content

scam

Shape Constrained Additive Models

v1.2-22 · Mar 12, 2026 · GPL (>= 2)

Description

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.

Downloads

CRAN

36.1K

Last 30 days

597th

62.6K

Last 90 days

192.4K

Last year

Trend: +134.2% (30d vs prior 30d)

r2u CRAN

144

Last 30 days

1.6K

Last 90 days

6.2K

Last year

Trend: -61.2% (30d vs prior 30d)

autoCRAN

5

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘scam-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/RtmpdvX58U/filed2057380f5500/smooth.construct.mifo.smooth.spec.R': No space left on device
Execution halted
 NONE
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (21)

depends

Dependency Network

Dependencies Reverse dependencies mgcv Matrix zetadiv FlexGAM GJRM MIDASim PoweREST cgaim cpam funcharts insurancerating pammtools power.nb reReg serosv sspse trackeR +6 more reverse deps scam

Version History

35 tracked
updated 1.2-22 ← 1.2-21 diff Mar 12, 2026
new 1.2-21 Mar 10, 2026
updated 1.2-21 ← 1.2-20 diff Jan 21, 2026
updated 1.2-20 ← 1.2-19 diff Oct 13, 2025
updated 1.2-19 ← 1.2-18 diff May 25, 2025
updated 1.2-18 ← 1.2-17 diff Jan 16, 2025
updated 1.2-17 ← 1.2-16 diff Jun 18, 2024
updated 1.2-16 ← 1.2-15 diff Feb 22, 2024
updated 1.2-15 ← 1.2-14 diff Jan 24, 2024
updated 1.2-14 ← 1.2-13 diff Apr 13, 2023
updated 1.2-13 ← 1.2-12 diff Sep 8, 2022
updated 1.2-12 ← 1.2-11 diff Aug 9, 2021
updated 1.2-11 ← 1.2-10 diff Mar 31, 2021
updated 1.2-10 ← 1.2-9 diff Jan 31, 2021
updated 1.2-9 ← 1.2-8 diff Dec 8, 2020