smooth_coef_indices {gratia} | R Documentation |
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)
Arguments
smooth |
an object that inherits from class |
Value
A numeric vector of indices.
Author(s)
Gavin L. Simpson
See Also
smooth_coefs()
for extracting the coefficients for a particular
smooth.
[Package gratia version 0.9.2 Index]