On Fri, Feb 10, 2012 at 11:40:57PM -0600, FU-WEN LIANG wrote:
> Thanks for your suggestion.
> I did read the manual but it seems those examples set boundaries for every
> parameter. I have no idea how to set bound for only one parameter(in my
> case, only for theta[21]). I tried adding
> "method='L
Thanks for your suggestion.
I did read the manual but it seems those examples set boundaries for every
parameter. I have no idea how to set bound for only one parameter(in my
case, only for theta[21]). I tried adding
"method='L-BFGS-B',lower=c(rep(inf,20),-1),upper=c(rep(inf,20),1)", but got
this e
Read optimx's help.
There are 'method', 'upper', 'lower' arguments that'll let you put bounds on
pars.
HTH
Rubén
-Mensaje original-
De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En
nombre de FU-WEN LIANG
Enviado el: jueves, 09 de febrero de 2012 23:56
Para: r-hel
3 matches
Mail list logo