smooth_dim | R Documentation |
Extracts the dimension of an estimated smooth.
smooth_dim(object)
## S3 method for class 'gam'
smooth_dim(object)
## S3 method for class 'gamm'
smooth_dim(object)
## S3 method for class 'mgcv.smooth'
smooth_dim(object)
object |
an R object. See Details for list of supported objects. |
This is a generic function with methods for objects of class
"gam"
, "gamm"
, and "mgcv.smooth"
.
A numeric vector of dimensions for each smooth.
Gavin L. Simpson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.