[R] evaluating function over seq of values

Evan Cooch evan.cooch at gmail.com
Mon Feb 13 21:53:33 CET 2017


> Note that in your likelihood function, N can be a vector of values, so
> you can compute the likelihood for all values of N and just access the
> value you want via subscripting rather than repeatedly computing it
> for different N's.

OK -- that is the part I'm stuck at - pointers to how to do precisely 
that appreciated (I don't use R a lot -- and it shows ;-)

>



More information about the R-help mailing list