Package: cgam
Type: Package
Title: Constrained Generalized Additive Model
Version: 1.27
Date: 2025-05-12
Authors@R: c(
    person("Mary", "Meyer", email = "meyer@stat.colostate.edu", role = "aut"),
    person("Xiyue", "Liao", email = "xliao@sdsu.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-4508-9219")))
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)<doi:10.18637/jss.v089.i05> for more details.
License: GPL (>= 2)
Depends: coneproj(>= 1.12), splines2 (>= 0.5.2), R(>= 4.3.0)
Imports: svDialogs, statmod, lme4, Matrix, ggplot2, dplyr, parallel,
        zeallot, rlang
RoxygenNote: 7.3.2
NeedsCompilation: no
Suggests: stats, MASS, graphics, grDevices, utils, SemiPar, roxygen2
ByteCompile: true
Packaged: 2025-05-12 20:54:53 UTC; xliao
Author: Mary Meyer [aut],
  Xiyue Liao [aut, cre] (ORCID: <https://orcid.org/0000-0002-4508-9219>)
Maintainer: Xiyue Liao <xliao@sdsu.edu>
Repository: CRAN
Date/Publication: 2025-05-12 22:10:06 UTC
Built: R 4.4.1; ; 2025-05-12 23:53:24 UTC; unix
