powered by
Extracts the dimension of an estimated smooth.
smooth_dim(object)# S3 method for gam smooth_dim(object)# S3 method for gamm smooth_dim(object)# S3 method for mgcv.smooth smooth_dim(object)
# S3 method for gam smooth_dim(object)
# S3 method for gamm smooth_dim(object)
# S3 method for mgcv.smooth smooth_dim(object)
A numeric vector of dimensions for each smooth.
an R object. See Details for list of supported objects.
Gavin L. Simpson
This is a generic function with methods for objects of class "gam", "gamm", and "mgcv.smooth".
"gam"
"gamm"
"mgcv.smooth"