Demographic data (log mortality) presented as a matrix.
Row numbers represent ages and column numbers represet time.
lambda
Controls "general flexibility" of the smooth surface.
lambdaaa
Controls "flexibility" of the smooth surface in age direction (first dimension).
lambdayy
Controls "flexibility" of the smooth surface in years direction (second dimension).
lambdaay
Controls "flexibility" of the smooth surface in age and years directions.
lambdaYearsEffect
Controls "flexibility" of the period effects.
thetaYearsEffect
Reduces the likelihood of period effects.
lambdaCohortEffect
Controls "flexibility" of the cohort effects.
thetaCohortEffect
Reduces the likelihood of cohort effects.
cornerLength
Sets the smallest length of a diagonal to be considered for cohort effects.
effects
Controls if the cohort and period effects are taken into account.
affdDiagonals
Diagonals to be used for cohort effects.
affdYears
Years to be used for period effects.
control
Control data passed directly to rq.fit.sfn function..
weights
Define how much every observation effect the resulting smooth surface.
The parameter must have same dimentions as data parameter.
Weights can be set to reciprocal of estimated standard deviation of the data.
Value
List of three components: smooth surface, period effects, cohort effects.