Skip to content
Prev 178131 / 398502 Next

Stuck using constrOptim

if i run the same program with 
constrOptim(p0,minsquare,keys=keys,benKeys=benKeys,NULL,ui=A,ci=B,method="BFGS")

i get the following error:
Error in dR(theta, theta.old, ...) : could not find function "grad"

i'm not very mathematically inclined, i dont even know what a gradient is. 
any suggestions?
dre968 wrote: