n_eta {gratia} | R Documentation |
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 class 'gam'
n_eta(model, ...)
Arguments
model |
a fitted model. Currently, only models inheriting from class
|
... |
arguments passed to methods. |
Value
An integer vector of length 1 containing the number of linear predictors in the model.
[Package gratia version 0.10.0 Index]