I found that the optim() function does not always reach the real minimum. Is it because the solution is trapped at a local minimum? Thanks! Ken On Dec 12, 2012, at 2:17 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:> ... origin pro? > > Then why are you here? > > It is not clear from your message that this has anything to do with R. > --------------------------------------------------------------------------- > Jeff Newmiller The ..... ..... Go Live... > DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... > Live: OO#.. Dead: OO#.. Playing > Research Engineer (Solar/Batteries O.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --------------------------------------------------------------------------- > Sent from my phone. Please excuse my brevity. > > vishal katoch <vkatoch007 at yahoo.co.in> wrote: > >> Hello, >> i am working in origin pro, >> i want to plot a graph as like a pdf attached but with black and white >> lines. >> here radial axis varies from 0 to 1. and angular axis from 0 degree to >> 60 degree.and third axis which is depend on both radial and axial gives >> non intersecting lines. >> how can i read the data from plot for replot. >> vikas >> >> >> >> >> ------------------------------------------------------------------------ >> >> ______________________________________________ >> 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. > > ______________________________________________ > 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.
Kenneth Z <kennethrrr <at> gmail.com> writes:> I found that the optim() function does not always reach the real minimum. Isit because the solution is> trapped at a local minimum? > > Thanks! > Ken >Maybe? Optimization is a large and difficult topic, and it's pretty much impossible to say anything without more details. Depending on your problem, you might be able either draw some pictures or compute second derivatives; if the matrix of second derivatives of the function you're minimizing is positive definite then you're at a local minimum. Otherwise please read http://tinyurl.com/reproducible-000 ...
Yesterday I installed the most recent R and maxent package, but it stopped working. Even a simple command like Model <- maxent(matrix(c(1,2,3,4,5,6,7,8), nrow=2, ncol=4),c(1,-1)) will cause a fatal error in R. I am attaching a screenshot to this email. Any help will be appreciated. Best regards, Ken> On Dec 12, 2012, at 4:13 PM, Kenneth Z <kennethrrr at gmail.com> wrote: > > I found that the optim() function does not always reach the real minimum. Is it because the solution is trapped at a local minimum? > > Thanks! > Ken > > > >> On Dec 12, 2012, at 2:17 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: >> >> ... origin pro? >> >> Then why are you here? >> >> It is not clear from your message that this has anything to do with R. >> --------------------------------------------------------------------------- >> Jeff Newmiller The ..... ..... Go Live... >> DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... >> Live: OO#.. Dead: OO#.. Playing >> Research Engineer (Solar/Batteries O.O#. #.O#. with >> /Software/Embedded Controllers) .OO#. .OO#. rocks...1k >> --------------------------------------------------------------------------- >> Sent from my phone. Please excuse my brevity. >> >> vishal katoch <vkatoch007 at yahoo.co.in> wrote: >> >>> Hello, >>> i am working in origin pro, >>> i want to plot a graph as like a pdf attached but with black and white >>> lines. >>> here radial axis varies from 0 to 1. and angular axis from 0 degree to >>> 60 degree.and third axis which is depend on both radial and axial gives >>> non intersecting lines. >>> how can i read the data from plot for replot. >>> vikas >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ______________________________________________ >>> 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. >> >> ______________________________________________ >> 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.