search for: splus2000

Displaying 2 results from an estimated 2 matches for "splus2000".

2004 Aug 03
1
nlminb vs optim
Dear R-help group, I have to maximize a likelihood with 40 parameters and I want to compare the MLE given by "nlminb" (Splus2000, on Windows) with those given by "optim" (R, on Unix). 1) On Splus, The algorithm "nlminb" seems to converge (the parameters stabilize) , it stops after several iterations ( around 400) with the message :"FUNCTION EVALUATION LIMIT REACHED" . It gives a set of estim...
2000 May 03
3
:?alternative to loop
Hello to all R people, for the application of a function to each column of a matrix (ex: function sum()), i'd like to know if there is a simpler (and faster) alternative to a loop like : for (i in 1: ncol(m)){sum(m[i])} Thanks in advance, Cordialement, -- Nicolas Baurin Doctorant Institut de Chimie Organique et Analytique, UPRES-A 6005 Universit? d'Orl?ans, BP 6759 45067 ORLEANS Cedex