Learn R Programming

EstimationTools (version 4.0.0)

interp.options: Configure various aspects of interpolating function in TTT_hazard_shape

Description

[Maturing]

This function allows the user to set the parameters of any of the following interpolating functions which can be used inside TTT_hazard_shape.

Usage

interp.options(interp.fun = "splinefun", length.out = 10, ...)

Arguments

interp.fun

character. This argument defines the interpolating function used. Default value is "splinefun". Visit the Details section for further information.

length.out

numeric. Number of points interpolated. Default value is 10.

...

further arguments passed to the interpolating function.

Author

Jaime Mosquera Gutiérrez jmosquerag@unal.edu.co

Details

Each interpolating function has its particular arguments. The following interpolating functions are recommended:

The user can also implement a custom interpolating function.

See Also