[R] Solve equation using R
Daniel Malter
daniel at umd.edu
Thu Feb 18 07:17:40 CET 2010
Exact to the degree that real numbers can be exactly expressed. Look into
?uniroot
You want to specify the function in a one-sided way, i.e., x/(1-exp(-x))-2.2
HTH,
Daniel
-------------------------
cuncta stricte discussurus
-------------------------
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of pinusan
Sent: Wednesday, February 17, 2010 8:16 PM
To: r-help at r-project.org
Subject: [R] Solve equation using R
Hello!
I want to use R to calculate the variable x which is in some eqation, give
an example:
2.2=x/(1-exp(-x)),
how to solve equation to get the exact x in R?
Thank you.
Have a nice day.
--
View this message in context:
http://n4.nabble.com/Solve-equation-using-R-tp1559576p1559576.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help at 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.
More information about the R-help
mailing list