Last data update: 2014.03.03
R: Estimation of constrained segmented distributed lag model
tempeff.fit R Documentation
Estimation of constrained segmented distributed lag model
Description
This is an internal function of package modTempEff
and it should be not
called by the user.
Usage
tempeff.fit(y, X, Af = NULL, Ac = NULL, Xf = NULL, Xc = NULL, V=NULL,
ndx.seas=0, only.seas = FALSE, penalty = list(DL=FALSE,
diff.varying=FALSE,ridge.formulas=NULL), gam.fit.it = NULL,
etastart = NULL, spstart = NULL, fit.method = "magic")
Arguments
y
See tempeff
X
See tempeff
Af
See tempeff
Ac
See tempeff
Xf
See tempeff
Xc
See tempeff
V
See tempeff
ndx.seas
See tempeff
penalty
See tempeff
only.seas
See tempeff
gam.fit.it
See tempeff
etastart
See tempeff
spstart
See tempeff
fit.method
See tempeff
Details
This function is called by tempeff
to fit the constrained segmented distributed lag model.
It is based on the function gam.fit
of the mgcv
package by S. Wood.
Value
A list of fit information.
Author(s)
Vito Muggeo
See Also
tempeff
Results