n_eta: The Number of linear predictors in model
Description
Extracts the number of linear predictors
from the fitted model.
Usage
n_eta(model, ...)# S3 method for gam
n_eta(model, ...)
Value
An integer vector of length 1 containing the number of linear
predictors in the model.
Arguments
- model
a fitted model. Currently, only models inheriting from class
"gam"
are supported.
- ...
arguments passed to methods.