Re: [R] returns the value of a polynomial of degree n evaluated at x.

2004-08-09 Thread Prof Brian Ripley
See package polynom on CRAN. On Mon, 9 Aug 2004, McClatchie, Sam (PIRSA-SARDI) wrote: > Is there a function in R that is similar to polyval in matlab? (y = > polyval(p,x) returns the value of a polynomial of degree n evaluated at x. > The input argument p is a vector of length n+1 whose elements

[R] returns the value of a polynomial of degree n evaluated at x.

2004-08-08 Thread McClatchie, Sam (PIRSA-SARDI)
> Background: > OS: Linux Mandrake 9.1 > release: R 1.9.0 > editor: Xemacs 21.4 > frontend: ESS 5.1.23 > - > > Colleagues > Is there a function in R that is similar to polyval in matlab? (y = polyval(p,x) returns the value of a polynomial of degree n evaluated at