[R] constraining functions for optim()

2010-02-08 Thread Guillaume Théroux Rancourt
Hi list! I am optimizing one function with two data sets where the unknown values (Vcmax and gi) are the same in each dataset (see script below). The script works, but I would like to add other constraints to this function. In this function, the optimization is carried out like: ### code and

Re: [R] constraining functions for optim()

2010-02-08 Thread Ravi Varadhan
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Guillaume Théroux Rancourt Sent: Monday, February 08, 2010 2:40 PM To: r-help@r-project.org Subject: [R] constraining functions for optim() Hi list! I

Re: [R] constraining functions for optim()

2010-02-08 Thread Guillaume Théroux Rancourt
Subject: [R] constraining functions for optim() Hi list! I am optimizing one function with two data sets where the unknown values (Vcmax and gi) are the same in each dataset (see script below). The script works, but I would like to add other constraints to this function. In this function