Displaying 1 result from an estimated 1 matches for "90f06686".
Did you mean:
906686
2007 Dec 19
2
can optimize solve paired euqations?
I used the command below, but R gives me the error message--syntax error.
can anyone see the mistakes I made?
optimize(function(x,y)
+ ((327.727-(1-0.114^10)*y*(1-x)/x/(1-x^y))+(9517.336-327.727 *(1+(1-x)*(1+y)/x-327.727)))^2
+ interval=c(0,1))
At the same time, I use nlm() but R gives me the code
$code
[1] 3
function(vals) {
x <- vals[1]
y <- vals[2]