[R] Partial Fraction Decomposition

Rolf Turner r.turner at auckland.ac.nz
Sun Nov 27 10:35:41 CET 2016


On 27/11/16 22:09, WRAY NICHOLAS wrote:
> I am not aware that R really does symbolic manipulation in the way which you
> want, but I would have thought that this process would make a very pretty little
> problem to solve for you yourself, in that you could write a programme to
> analyse the original expression as a string of characters, whose particular
> nature means that you have to make certain choices.  Start with a simple
> example, say (x^2 + x +1)/(x+1) (i haven't actually worked this out) and
> gradually work up

A quick Google search reveals Ryacas and rSymPy as (at least) two 
packages that do symbolic manipulations.  I have never used either, and 
don't know if they do the partial fraction calculations that the OP 
wanted.  But they'd be worth checking out.

cheers,

Rolf Turner

-- 
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276



More information about the R-help mailing list