kakul modani
2008-Apr-26 14:40 UTC
[R] How to use the optim function if the length of the objective function is greater than 1?
Hi, Please help me out with this.Im a new user of R. Thanks [[alternative HTML version deleted]]
Charles Annis, P.E.
2008-Apr-26 15:05 UTC
[R] How to use the optim function if the length of the objectivefunction is greater than 1?
Help you out with what? You have not provided a commented, minimal, self-contained, reproducible example as you were asked to provide in the bottom text of every note to r-help. Can you expect help with a problem only you know? I *suspect* that you will need to define an objective function, such as the sum of the squares of deviations, so that the function is then single-valued. But that's only a guess, based on insufficient information. Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of kakul modani Sent: Saturday, April 26, 2008 10:40 AM To: r-help at r-project.org Subject: [R] How to use the optim function if the length of the objectivefunction is greater than 1? Hi, Please help me out with this.Im a new user of R. Thanks [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.