
The thin plate spline penalties give zero penalty to some
functions. The space of these functions is spanned by a set of
polynomial terms. null.space.dimension
finds the dimension of this space,
null.space.dimension(d,m)
is a positive integer - the number of variables of which the t.p.s. is a function.
a non-negative integer giving the order of the penalty functional, or signalling that the default order should be used.
An integer (array), the null space dimension
Thin plate splines are only visually smooth if the order of the
wiggliness penalty,
which is the value returned.
Wood, S.N. (2003) Thin plate regression splines. J.R.Statist.Soc.B 65(1):95-114
# NOT RUN {
require(mgcv)
null.space.dimension(2,0)
# }
Run the code above in your browser using DataLab