Learn R Programming

modTempEff (version 1.5.2)

tempeff.fit: 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

Value

A list of fit information.

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.

See Also

tempeff