[R] polynomial question
erinm.hodgess at gmail.com
Wed Apr 20 20:41:57 CEST 2011
Dear R People:
Suppose I have (x-1)*(x-2) and would like to produce x^2 - 3x + 2.
I have tried
2 + x
from the polynom library, but as you can see, that doesn't do it.
Is there a function to do this please? I'm sure that I've done this
before, but I can't remember the correct way.
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
More information about the R-help