match_control {FlexGAM}R Documentation

Function to check the control parameters

Description

Controls if the values of the control parameters are correct. If any control parameters are missing those are set to default. For internal use only.

Usage

match_flexgam_control(control = NULL, formula = formula, data=NULL)

Arguments

control

List of control parameters or NULL.

formula

Formula of the model to calculate the initial smoothing parameters.

data

Data of the model to calculate the initial smoothing parameters.

Details

Controls if the values of the control parameters are correct. If control parameters are missing they are set to default:

Value

List of control parameters to fit the flexgam model.

Note

The function is designed for internal usage.

Author(s)

Elmar Spiegel

References

Spiegel, Elmar, Thomas Kneib and Fabian Otto-Sobotka. Generalized additive models with flexible response functions. Statistics and Computing (2017). https://doi.org/10.1007/s11222-017-9799-6

See Also

flexgam

Examples

# Only for internal usage.

[Package FlexGAM version 0.7.2 Index]