?optim


Statistics is the grammar of science.
Karl Pearson <http://en.wikipedia.org/wiki/The_Grammar_of_Science>


On Sat, Jul 19, 2014 at 9:04 PM, Zhan Tianyu <sewen67@gmail.com> wrote:

> Hi all,
>
>       I have a question concerning using R to calculate "x" when "f(x)"
> reaches its minimum, for example x is between -5 and 5. A simple and naive
> method would be divide (-5,5) into 10000 pieces, and then calculate the
> corresponding values of f(x)'s. Then the order of those f(x)'s would give
> me the answer of "x". However, this method is kind of slow and inaccurate.
> I would really appreciate if someone could give me some suggestions of
> improving it, or tell me a better method. Thank you.
>
> Best regards,
> Tianyu Zhan
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

