<!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> </DIV>
<DIV><FONT size=2>Is there something like the Matlab function 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> </DIV>
<DIV><FONT size=2>Thanks in advance.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Yves Gauvreau</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=2>***********************</FONT></DIV>
<DIV><FONT size=2>function [x, options] =
fmins(funfcn,x,options,grad,varargin)<BR>%FMINS Minimize function of
several variables.<BR>% X = FMINS('F',X0) attempts to return a
vector X which is a local<BR>% minimizer of F(x) near the starting
vector X0. 'F' is a string<BR>% containing the name of the
objective function to be minimized.<BR>% F(x) should be a scalar
valued function of a vector variable.<BR>%<BR>% X =
FMINS('F',X0,OPTIONS) uses a vector of control parameters. If<BR>%
OPTIONS(1) is positive, intermediate steps in the solution are<BR>%
displayed; the default is OPTIONS(1) = 0. OPTIONS(2) is
the<BR>% termination tolerance for x; the default is 1.e-4.
OPTIONS(3) is<BR>% the termination tolerance for F(x); the default
is 1.e-4.<BR>% OPTIONS(14) is the maximum number of function
evaluations; the <BR>% default is OPTIONS(14) = 200*length(x).
The other components of <BR>% OPTIONS are not used as input control
parameters by FMIN. <BR>% For more information, see
FOPTIONS.<BR>%<BR>% X = FMINS('F',X0,OPTIONS,[],P1,P2,...) provides
for additional<BR>% arguments which are passed to the objective
function, F(X,P1,P2,...)<BR>% Pass an empty matrix for OPTIONS to
use the default value.<BR>%<BR>% [X,OPTIONS] = FMINS(...) returns
the number of function evaluations<BR>% in
OPTIONS(10).<BR>%<BR>% FMINS uses a Nelder-Mead type simplex search
method.<BR>%<BR>% See also FMIN, FOPTIONS. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>% Reference: J. E. Dennis, Jr. and D. J. Woods,
New Computing<BR>% Environments: Microcomputers in Large-Scale
Computing,<BR>% edited by A. Wouk, SIAM, 1987, pp.
116-122.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>% Copyright (c) 1984-96 by The MathWorks,
Inc.<BR>% $Revision: 5.11 $ $Date: 1996/10/28 22:13:21
$<BR></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2>************************************</FONT></DIV></BODY></HTML>