Skip to content

constrOptim and further arguments

2 messages · Michael Griffiths, Uwe Ligges

#
On 21.12.2011 18:08, Michael Griffiths wrote:
Reason is that you need to specify fn and heq in a way that will accept 
these arguments!

So the defitionions should start with

fn <- function(x,RR,Diff)

and

heq <- function(x,RR,Diff)

respectively.

Uwe Ligges