[R] maxLik pakage

2009-05-16 Thread amene kheradmandi
Hi all; I recently have been used 'maxLik' function for maximizing G2StNV178 function with gradient function gradlik; for receiving this goal, I write the following program; but I have been seen an error  in calling gradient  function; The maxLik function can't enter gradlik function

[R] maxLik package

2009-05-11 Thread amene kheradmandi
Hi all. Recently i have been used maxlik package for optimizing a function with 5 parameters but i couldn't define gradient argument in function maxLik; How i can define a command to receive my goal? Whether I can change the core of this package?   Thanks for your attention and reply A.