[R] Optimise parameter of a generic function

Samuel Dennis sjdennis3 at gmail.com
Thu Sep 24 05:18:59 CEST 2009


Typical, spotted a very stupid typo in my code after posting, and when
corrected I have solved my own problem. Sorry for bothering everyone.

Line below should have read:
optimise(f = nbinopt, interval = c(0,100), maximum=FALSE, tol=0.01)

Samuel Dennis wrote:
> 
> optimise(f = nbin063, interval = c(0,100), maximum=FALSE, tol=0.01)
> 

Hopefully this post helps someone else trying to do the same thing in
future.

-- 
View this message in context: http://www.nabble.com/Optimise-parameter-of-a-generic-function-tp25531369p25531370.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list