Description Usage Arguments Details Value Author(s) See Also

View source: R/Mort1Dsmooth_checker.R

This is an internal function of package `MortalitySmooth`

which
checks whether the arguments given in the function `Mort1Dsmooth`

have proper lengths and suitability.

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

`coefstart` |
a vector with the eventual starting coefficients. |

`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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.