Description Usage Arguments Value Author(s) See Also
Defines a term \int_{T}β(t)X_i(t)dt for inclusion in an gam
formula
(or bam
or gamm
or gamm4
) as constructed by
fgam
, where β(t) is an unknown coefficient function and X_i(t)
is a functional predictor on the closed interval T. Defaults to a cubic Bspline with
secondorder difference penalties for estimating β(t). The functional predictor must
be fully observed on a regular grid.
1 2 3 4 5 6 7 8 9 
X 
an 
argvals 
matrix (or vector) of indices of evaluations of X_i(t); i.e. a matrix with ith row (t_{i1},.,t_{iJ}) 
xind 
same as argvals. It will not be supported in the next version of refund. 
integration 
method used for numerical integration. Defaults to 
L 
an optional 
splinepars 
optional arguments specifying options for representing and penalizing the
functional coefficient β(t). Defaults to a cubic Bspline with secondorder difference
penalties, i.e. 
presmooth 
logical; if true, the functional predictor is presmoothed prior to fitting. See

a list with the following entries
call
 a call
to te
(or s
, t2
) using the appropriately
constructed covariate and weight matrices
argvals
 the argvals
argument supplied to lf
L
 the matrix of weights used for the integration
xindname  the name used for the functional predictor variable in the formula
used by mgcv
tindname
 the name used for argvals
variable in the formula
used by mgcv
LXname
 the name used for the L
variable in the formula
used by mgcv
presmooth
 the presmooth
argument supplied to lf
Xfd
 an fd
object from presmoothing the functional predictors using
smooth.basisPar
. Only present if presmooth=TRUE
. See fd
Mathew W. McLean mathew.w.mclean@gmail.com and Fabian Scheipl
fgam
, af
, mgcv's linear.functional.terms
,
fgam
for examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.