BFGS_lpdf | R Documentation |
A wrapper for codeBFGS_std that is useful for easily calling
parameter optimization for this package with as few lines as possible.
Note that om
and logpdf
will be set to optimal
parameters, the return is simply for information.
BFGS_lpdf( om, logpdf, parlist = list(), newt = FALSE, cgsteps = 100, cgtol = 0.001, ... )
om |
an |
logpdf |
a |
parlist |
an initial point, which are pulled from 'om' and 'logpdf' if not provided |
newt |
boolean for if Newtons method should be used |
cgsteps |
max number of cg iterations, if |
cgtol |
cg tolerance, if |
... |
additional parameters passed to |
a list of information from optimization.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.