Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

points.polynomial

Points Method for Polynomials


Description

Add a polynomial to an existing plot usually as a point plot.

Usage

## S3 method for class 'polynomial'
points(x, length = 100, ...)

Arguments

x

an object of class "polynomial".

length

size of x vector at which evaluations are to be made.

...

additional arguments as for the points generic.

Details

This is a method for the generic function points.

Points representing the given polynomial are added to an existing plot. Values outside the current plot region are not shown.

See Also

Examples

plot(poly.calc(-1:5))
lines(poly.calc(2:4), lty=2)
points(poly.calc(-2:6), pch=4)

polynom

A Collection of Functions to Implement a Class for Univariate Polynomial Manipulations

v1.4-0
GPL-2
Authors
Bill Venables [aut, cre] (S original), Kurt Hornik [aut] (R port), Martin Maechler [aut] (R port)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.