Am 13.06.2012 16:41, schrieb Saman Monfared: > Dear all. > I try to minimize a function using nlm. > my function has three parameter that all of them are positive. > How can I do this condition in parameter estimation with nlm. I think you can't. But you could use optim() instead. Tom > Thanks. >