Mort1Dsmooth.checker {MortalitySmooth}R Documentation

Check Arguments for Function Mort1Dsmooth

Description

This is an internal function of package MortalitySmooth which checks whether the arguments given in the function Mort1Dsmooth have proper lengths and suitability.

Usage

Mort1Dsmooth.checker(x, y, offset, w,
                     overdispersion,
                     ndx, deg, pord, lambda, df,
                     method, control) 

Arguments

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.

Details

Internal function used in Mort1Dsmooth for checking its arguments.

Value

A list with checked elements to be used in Mort1Dsmooth

Author(s)

Carlo G Camarda

See Also

Mort1Dsmooth


[Package MortalitySmooth version 1.0 Index]