[R] maxima

Z P nusbj at hotmail.com
Tue Mar 9 10:55:48 CET 2004


Dear all,

suppose I have a bi-variate function f(x,y), I want to find the maxima. I 
define x and y vector, and get matrix z=f(x,y). how can I get which (x0,y0) 
makes z become the maxima?

I can do two loops to get the x0 and y0, but I think there may exist a 
function to do this.




More information about the R-help mailing list