On Sat, Feb 7, 2009 at 10:20 AM, oryie <43248...@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.

Paul

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to