can anyone know code for maxima and minima of function of two variables

can anyone know code for maxima and minima of function of two variables

please help me

Could you be a little more specific about your question? Here is a guide about properly making R related questions.

As Andres has noted, you need to be more specific regarding your problem. But, most probably, optim is the function that you are looking for.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.