Description Usage Arguments Details Value Author(s) See Also
This is an internal function of package MortalitySmooth
which
checks whether the arguments given in the function Mort2Dsmooth
have proper lengths and suitability.
1 2 3 4 5 | Mort2Dsmooth_checker(x, y, Z, offset, W,
overdispersion,
ndx, deg, pord, lambdas,
df, method, coefstart,
control)
|
x |
vector for the abscissa of data. |
y |
vector for the ordinate of data. |
Z |
matrix of counts response. |
offset |
matrix with an a priori known component. |
W |
an optional matrix of weights to be used in the fitting process. |
overdispersion |
logical on the accounting for overdisperion. |
ndx |
vector with the number of internal knots -1 for each axis. |
deg |
vector with the degree of the B-splines for each axis. |
pord |
vector with the order of differences for each axis. |
lambdas |
vector with smoothing parameters, possibly one for axis. |
df |
a number which specifies the degrees of freedom. |
method |
the method for controlling the amount of smoothing. |
coefstart |
a matrix with the eventual starting coefficients. |
control |
a list of control parameters. |
Internal function used in Mort2Dsmooth
for checking its
arguments.
A list with checked elements to be used in
Mort2Dsmooth
.
Carlo G Camarda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.