Description Usage Arguments Details Value Author(s) See Also

This function is similar to `splinefun`

but it returns 0
outside the range of `x`

.

1 2 | ```
mysplinefun(x, y = NULL, method = c("fmm", "periodic", "natural", "monoH.FC")[1],
ties = mean)
``` |

`x` |
x-values to use in the interpolation. |

`y` |
y-values to use in the interpolation (optional). |

`method` |
Method used to compute the spline. See |

`ties` |
Handling of tied 'x' values. See |

This function calls `splinefun`

and returns a function
with the fitted spline. The main difference is that this new function
returns 0 outside the range of 0.

Returns a function with `x`

and `deriv`

arguments. See `splinefun`

for details.

Virgilio G<f3>mez-Rubio <virgilio.gomez@uclm.es>

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.