I don't understand. The help page for "maxLik" says that if the
"grad" argument is 'NULL', "numeric gradient will be
used."
If this does not answer your question, please read the posting
guide "www.R-project.org/posting-guide.html" and provide commented,
minimal, self-contained, reproducible code illustrating something you
tried that didn't quite work. I believe this will increase your chances
of getting more useful suggestions quicker.
Hope this helps.
Spencer Graves
amene kheradmandi wrote:> 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. kheradmandi
>
>
>
> [[alternative HTML version deleted]]
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>