[R] R solve equation

Paul Smith phhs80 at gmail.com
Sun Feb 8 12:51:51 CET 2009

On Sat, Feb 7, 2009 at 10:20 AM, oryie <43248523 at qq.com> wrote:
> I want to use R to calculate the variable x which is in some eqation, give
> an example:
> 3*x-log(x)+1=0,
> how to solve equation to get the exact x in R?

You could use uniroot(), but your equation has no real solution.


More information about the R-help mailing list