Mort1Dsmooth_checker: Check Arguments for Function Mort1Dsmooth

Description Usage Arguments Details Value Author(s) See Also

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

1
2
3
4
5
Mort1Dsmooth_checker(x, y, offset,
                     w, overdispersion,
                     ndx, deg, pord, lambda,
                     df, method, coefstart,
                     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.

coefstart

a vector with the eventual starting coefficients.

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


MortalitySmooth documentation built on May 2, 2019, 6:07 a.m.