Other packages > Find by keyword >

cgam  

Constrained Generalized Additive Model
View on CRAN: Click here


Download and install cgam package within the R console
Install from CRAN:
install.packages("cgam")

Install from Github:
library("remotes")
install_github("cran/cgam")

Install by package version:
library("remotes")
install_version("cgam", "1.30")



Attach the package and use:
library("cgam")
Maintained by
Xiyue Liao
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2014-03-05
Latest Update: 2025-07-05
Description:
A constrained generalized additive model is fitted by the cgam routine. Given a set of predictors, each of which may have a shape or order restrictions, the maximum likelihood estimator for the constrained generalized additive model is found using an iteratively re-weighted cone projection algorithm. The ShapeSelect routine chooses a subset of predictor variables and describes the component relationships with the response. For each predictor, the user needs only specify a set of possible shape or order restrictions. A model selection method chooses the shapes and orderings of the relationships as well as the variables. The cone information criterion (CIC) is used to select the best combination of variables and shapes. A genetic algorithm may be used when the set of possible models is large. In addition, the cgam routine implements a two-dimensional isotonic regression using warped-plane splines without additivity assumptions. It can also fit a convex or concave regression surface with triangle splines without additivity assumptions. See Liao X, Meyer MC (2019) for more details.
How to cite:
Xiyue Liao (2014). cgam: Constrained Generalized Additive Model. R package version 1.30, https://cran.r-project.org/web/packages/cgam. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.0 (2014-03-05 18:14), 1.1 (2014-04-17 00:13), 1.2 (2014-09-10 21:48), 1.3 (2015-10-01 13:18), 1.4 (2016-04-15 00:43), 1.5 (2016-06-05 18:41), 1.6 (2016-11-02 19:52), 1.7 (2017-07-03 00:16), 1.8 (2017-10-02 09:08), 1.9 (2018-02-15 19:21), 1.10 (2018-04-11 19:42), 1.11 (2018-06-28 21:48), 1.12 (2018-11-08 20:00), 1.13 (2019-04-23 06:10), 1.14 (2019-05-01 19:30), 1.15 (2019-10-13 23:30), 1.16 (2020-09-29 08:40), 1.17 (2021-12-13 18:40), 1.18 (2022-07-18 17:50), 1.19 (2022-10-04 21:50), 1.20 (2022-11-16 13:11), 1.21 (2023-08-10 18:30), 1.22 (2025-02-17 21:00), 1.23 (2025-02-19 09:50), 1.24 (2025-04-11 06:50), 1.25 (2025-04-24 00:20), 1.26 (2025-04-28 12:00), 1.27 (2025-05-13 00:10), 1.28 (2025-07-05 23:00), 1.29 (2025-08-23 19:40), 1.30 (2026-01-16 10:10), 1.31 (2026-02-08 07:10)
Other packages that cited cgam R package
View cgam citation profile
Other R packages that cgam depends, imports, suggests or enhances
Complete documentation for cgam
Functions, R codes and Examples using the cgam R package
Some associated functions: COforest . Ord . ShapeSelect . best.fit . cgam . cgamm . conc . conv . cubic . decr.conc . decr.conv . decr . in.or.out . incr.conc . incr.conv . incr . mental . plasma . plotpersp . predict.cgam . s.conc.conc . s.conc . s.conv.conv . s.conv . s.decr.conc . s.decr.conv . s.decr.decr . s.decr.incr . s.decr . s.incr.conc . s.incr.conv . s.incr.decr . s.incr.incr . s.incr . s . shapes . tree . umbrella . 
Some associated R codes: cgam.R . cgamm.R .  Full cgam package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA