Learn R Programming

gratia (version 0.9.0)

smooth_coef_indices: Indices of the parametric terms for a particular smooth

Description

Returns a vector of indices of the parametric terms that represent the supplied smooth. Useful for extracting model coefficients and columns of their covariance matrix.

Usage

smooth_coef_indices(smooth)

Value

A numeric vector of indices.

Arguments

smooth

an object that inherits from class mgcv.smooth

Author

Gavin L. Simpson

See Also

smooth_coefs() for extracting the coefficients for a particular smooth.