<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Is there something like the Matlab function&nbsp;FMINS in any 
R packages? Here is the help file of fmins in case something similar exist under 
R with a different name.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Thanks in advance.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Yves Gauvreau</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>***********************</FONT></DIV>
<DIV><FONT size=2>function [x, options] = 
fmins(funfcn,x,options,grad,varargin)<BR>%FMINS&nbsp; Minimize function of 
several variables.<BR>%&nbsp;&nbsp; X = FMINS('F',X0) attempts to return a 
vector X which is a local<BR>%&nbsp;&nbsp; minimizer of F(x) near the starting 
vector X0.&nbsp; 'F' is a string<BR>%&nbsp;&nbsp; containing the name of the 
objective function to be minimized.<BR>%&nbsp;&nbsp; F(x) should be a scalar 
valued function of a vector variable.<BR>%<BR>%&nbsp;&nbsp; X = 
FMINS('F',X0,OPTIONS) uses a vector of control parameters. If<BR>%&nbsp;&nbsp; 
OPTIONS(1) is positive, intermediate steps in the solution are<BR>%&nbsp;&nbsp; 
displayed; the default is OPTIONS(1) = 0.&nbsp; OPTIONS(2) is 
the<BR>%&nbsp;&nbsp; termination tolerance for x; the default is 1.e-4.&nbsp; 
OPTIONS(3) is<BR>%&nbsp;&nbsp; the termination tolerance for F(x); the default 
is 1.e-4.<BR>%&nbsp;&nbsp; OPTIONS(14) is the maximum number of function 
evaluations; the <BR>%&nbsp;&nbsp; default is OPTIONS(14) = 200*length(x).&nbsp; 
The other components of <BR>%&nbsp;&nbsp; OPTIONS are not used as input control 
parameters by FMIN.&nbsp; <BR>%&nbsp;&nbsp; For more information, see 
FOPTIONS.<BR>%<BR>%&nbsp;&nbsp; X = FMINS('F',X0,OPTIONS,[],P1,P2,...) provides 
for additional<BR>%&nbsp;&nbsp; arguments which are passed to the objective 
function, F(X,P1,P2,...)<BR>%&nbsp;&nbsp; Pass an empty matrix for OPTIONS to 
use the default value.<BR>%<BR>%&nbsp;&nbsp; [X,OPTIONS] = FMINS(...) returns 
the number of function evaluations<BR>%&nbsp;&nbsp; in 
OPTIONS(10).<BR>%<BR>%&nbsp;&nbsp; FMINS uses a Nelder-Mead type simplex search 
method.<BR>%<BR>%&nbsp;&nbsp; See also FMIN, FOPTIONS. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>%&nbsp;&nbsp; Reference: J. E. Dennis, Jr. and D. J. Woods, 
New Computing<BR>%&nbsp;&nbsp; Environments: Microcomputers in Large-Scale 
Computing,<BR>%&nbsp;&nbsp; edited by A. Wouk, SIAM, 1987, pp. 
116-122.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>%&nbsp;&nbsp; Copyright (c) 1984-96 by The MathWorks, 
Inc.<BR>%&nbsp;&nbsp; $Revision: 5.11 $&nbsp; $Date: 1996/10/28 22:13:21 
$<BR></FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT 
size=2>************************************</FONT></DIV></BODY></HTML>