> 
optim(c(1,1),LL,method="SANN",control=list(fnscale=-1),trans=trans,times=times)
$par
[1] 17.422635 -1.606859

How could i constraint that the parameters should be both positive in
my maximizing problem?
I check constrOptim but here i could only constraint the variables trans and 
times and not my parameters?

many thanks, regards
Christian

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to