Mort1Dsmooth.checker {MortalitySmooth} | R Documentation |
This is an internal function of package MortalitySmooth
which
checks whether the arguments given in the function Mort1Dsmooth
have proper lengths and suitability.
Mort1Dsmooth.checker(x, y, offset, w, overdispersion, ndx, deg, pord, lambda, df, method, control)
x |
Values of the predictor variable. |
y |
Set of counts response variable values. |
offset |
A vector with the offset. |
w |
An optional vector of weights to be used in the fitting process. |
overdispersion |
Logical on the accounting for overdisperion. |
ndx |
Number of internal knots -1. |
deg |
Degree of the B-splines. |
pord |
Order of differences. |
lambda |
Smoothing parameter. |
df |
A number which specifies the degrees of freedom. |
method |
The method for controlling the amount of smoothing. |
control |
A list of control parameters. |
Internal function used in Mort1Dsmooth
for checking its
arguments.
A list with checked elements to be used in Mort1Dsmooth
Carlo G Camarda