polylist {polynom}R Documentation

Lists of Polynomials

Description

Create and manipulate lists of polynomials.

Usage

polylist(...)

Arguments

... a list of R objects.

Details

polylist takes a list of arguments, tries to convert each into a polynomial (see polynomial), and sets the class of the list to "polylist".

This class has several useful methods, such as taking derivatives (link{deriv}) and antiderivatives (integral), printing and plotting.

Examples

## Calculate orthogonal polynomials
pl <- poly.orth(rep(1:4, 1:4), 3)
pl
plot(pl)
deriv(pl)
integral(pl)

[Package polynom version 1.1-15 Index]