Ah.
Close to what David suggested...
Try:
?which.max
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------
On Thu, Apr 22, 2010 at 10:57 PM, tamas barjak
<tamas.barjak@gmail.com>wrote:
> Of course!
>
> > max(dbinom(0:20, 20, 0.4))
> [1] 0.1797058
>
>
> I would like the place of the maximum for this. The value is found, I do
> not know it only which index belongs to.
>
>
[[alternative HTML version deleted]]