[R] analytic solution for equation

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Fri Jul 9 18:44:15 CEST 2004


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:
> 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+x2=8 (x1=sqrt(8-x2))
> 
> 
> 
> Is is possible in R ? if not, do you know a (free) software that could do the job ?
> 
> Thanks in advance !
> 
> Stephane DRAY
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list