DensGradHess | R Documentation |
The parameters after "..." should be matched exactly.
DensGradHess(B, ..., type = "norm", grad = TRUE, Hess = TRUE)
B |
"matrix". The paramter that need to be added with a prior. The gradient and hessian are calculated conditional on B. B should be always an one-column matrix |
... |
The arguments for the densities. The name should be matched exactly. |
type |
default norm |
grad |
"logical" Should the gradient be computed? |
Hess |
"logical" Should the Hessian be computed? |
"list". The gradient and Hessian (if required) matrices
First version: Tue Mar 30 09:33:23 CEST 2010; Current: Fri Mar 02 17:01:20 CET 2012.
Feng Li, Department of Statistics, Stockholm University, Sweden.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.