null.space.dimension
finds the dimension of this space, $M$, given
the number of covariates that the smoother is a function of, $d$,
and the order of the smoothing penalty, $m$. If $m$ does not
satisfy $2m>d$ then the smallest possible dimension
for the null space is found given $d$ and the requirement that
the smooth should be visually smooth.null.space.dimension(d,m)
$M=(m+d-1)!/(d!(m-1)!)$
which is the value returned.
tprs