Re: [R] analytic solution for equation

2004-07-09 Thread Gabor Grothendieck
Stephane Dray biomserv.univ-lyon1.fr> writes: : : Hello, : I have search on R website but do not find any solution. : I would like to know if R has some functionalities to produce analytical results : of equation. or more generally if it contains some functions to simplify equation. : : For ex

Re: [R] analytic solution for equation

2004-07-09 Thread Barry Rowlingson
Stephane Dray wrote: For example: I would like to obtain x1 from: x1+x2=8 (x1=8-x2) x1^2+x2=8 (x1=sqrt(8-x2)) Is is possible in R ? if not, do you know a (free) software that could do the job ? You want a computer algebra system. Try 'maxima', free, and from here: http://maxima.sourceforge.net/

Re: [R] analytic solution for equation

2004-07-09 Thread Adaikalavan Ramasamy
What would be the purpose of a function/software to rewrite x1 in terms of x2 ? Perhaps you could explain further how it might be of some use. There is uniroot(), polyroot(), optimize(), nlm(), solve() and many others that you want to look into. On Fri, 2004-07-09 at 17:07, Stephane Dray wrote: >

[R] analytic solution for equation

2004-07-09 Thread Stephane Dray
Hello, I have search on R website but do not find any solution. I would like to know if R has some functionalities to produce analytical results of equation. or more generally if it contains some functions to simplify equation. For example: I would like to obtain x1 from: x1+x2=8 (x1=8-x2) x1^2+