Description Usage Arguments Details Value Author(s) See Also Examples

Works in conjunction with the `approx`

function to do linear
extrapolation. `approx`

in R does not support extrapolation at
all, and it is buggy in S-Plus 6.

1 2 | ```
approxExtrap(x, y, xout, method = "linear", n = 50, rule = 2, f = 0,
ties = "ordered", na.rm = FALSE)
``` |

`x,y,xout,method,n,rule,f` |
see |

`ties` |
applies only to R. See |

`na.rm` |
set to |

Duplicates in `x`

(and corresponding `y`

elements) are removed
before using `approx`

.

a vector the same length as `xout`

Frank Harrell

1 | ```
approxExtrap(1:3,1:3,xout=c(0,4))
``` |

harrelfe/Hmisc documentation built on Oct. 3, 2019, 9:34 p.m.

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.