search for: newphot

Displaying 1 result from an estimated 1 matches for "newphot".

Did you mean: newhot
2005 Sep 29
1
Error using a data frame as the "start" parameter in mle()
Dear R-Users, I am trying to use mle() to optimize two (or more) parameters, but I want to specify those parmeters in a data frame rather than having to spell them out separately in the "start" variable of mle(). My call is > mle(negll, start=list(aps=init), fixed=list(measphot=newphot, formod=formod, Nbands=Nbands), method="BFGS") where negll is a function I have written which uses the function predict.loess(). negll works fine when called directly. The parameter I am trying to optimize, "aps", is a data frame containing two parameters, e.g. > init...