I should start by saying what I\'m trying to do: I want to use the mle function without having to re-write my log likelihood function each time I want to try a different model s
The R code that Ramnath provided can also be applied to the optim function because it takes vectors as parameters also.