smooth.construct
method function for creating tensor product smooths from any
combination of single penalty marginal smooths.## S3 method for class 'tensor.smooth.spec':
smooth.construct(object, data, knots)
tensor.smooth.spec
,
usually generated by a term like te(x,z)
in a gam
model formulaby
variable) required by this term,
with names corresponding to object$term
(and object$by
). The by
variable
is the last element.data
.
Can be NULL
. See details for further information."tensor.smooth"
. See smooth.construct
,
for the elements that this object will contain.te
, smooth.construct
and
smooth.terms
.cSplineDes