Main Content

Compact generalized additive model (GAM) for regression

`CompactRegressionGAM`

is a compact version of a `RegressionGAM`

model
object (GAM for regression). The compact model does not include the data used for training the
model. Therefore, you cannot perform some tasks, such as cross-validation, using the compact
model. Use a compact model for tasks such as predicting the responses of new
data.

Create a `CompactRegressionGAM`

object from a full `RegressionGAM`

model
object by using `compact`

.