Description Usage Arguments Details Value Author(s)
Extracts the dimension of an estimated smooth.
1 2 3 4 5 6 7 8 9 10 | 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.