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.32")



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.32, https://cran.r-project.org/web/packages/cgam. Accessed 29 Oct. 2026.
Previous versions and publish date:
(2026-10-20 17:00), 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), 1.32 (2026-03-05 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

GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  
personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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