[R] Equate two (or more) functions

pannigh pannigh at gwdg.de
Wed Apr 25 18:52:37 CEST 2012


Dear List,
I was wondering if there is a simple way to solve (equate) two functions in
R. For example:

(1) 5x + 3y = 30
(2) 12x - 2y = 26

I would like R to finde x = 3 and y = 5
Is there an implemented function in R or would I have to write an own
function?

Thank you very much for your help.
 

--
View this message in context: http://r.789695.n4.nabble.com/Equate-two-or-more-functions-tp4587302p4587302.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list