smoothCon(object,data,knots,absorb.cons=FALSE,scale.penalty=TRUE)
PredictMat(object,data)
TRUE
in order to have identifiability
constraints absorbed into the basis.gamm
fitting.smoothCon
a smooth
object returned by the
appropriate smooth.construct
method function. If constraints are
to be absorbed then the object will have an attributes "qrc"
and
"nCons"
, the qr decomposition of the constraint matrix (returned by
qr
) and the number of constraints, respectively: these are used in
the re-parameterization. For predictMat
a matrix which will map the parameters associated with
the smooth to the vector of values of the smooth evaluated at the covariate
values given in object
.
smooth.construct
and Predict.matrix
method
functions to be re-parameterized so that identifiability constraints are no
longer required in fitting. This is done in a user transparent
manner, but is typically of no importance in use of GAMs. The parameterization used by gam
can be controlled via
gam.control
.
gam.control
,
smooth.construct
, Predict.matrix