[R] ms?

Douglas Bates bates at stat.wisc.edu
Mon Feb 28 16:40:08 CET 2000


gb at stat.umu.se writes:

> Is the Splus (4.0) function  ms  (or something equivalent)
> available in some  R  package? I am trying to get an Splus
> program to work with R. The piece of  Splus  code is
> 
> ms.fit<-ms(~t(Y-(X[,1] * alf + X[,2] * bet)^delta)%*%
>            covariance.matrix.inverse%*%
>            (Y-(X[,1] * alf + X[,2] * bet)^delta),
>            sys.parent(0) , list(alf=5,bet=0.5), trace = F)

There are several different optimizers available in R now but none of
them are exactly the same as the ms optimizer in S.  The nlm
optimizer has been available for a long time.  Recently Brian Ripley
added a variety of optimizers in the optim function.  Try
 ?optim
and
 ?nlm
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list