predict.rationalfun | R Documentation |

Evaluate a rational function at a real or complex vector.

## S3 method for class 'rationalfun' predict(object, newdata, ...)

`object` |
an object of class "rationalfun" |

`newdata` |
a vector at which evaluation is requested. |

`...` |
not used in this function Both real and complex vectors are accepted. |

A vector of evaluated results.

`predict.polynomial`

r <- rationalfun(c(1, 1), c(3, 2, 1)) predict(r, 1:10)

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.