Description Usage Arguments Value Author(s)
View source: R/dist__DensGradHess.R
The parameters after "..." should be matched exactly.
1 | 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 |
density type |
grad |
"logical" Should the gradient be computed? |
Hess |
"logical" Should the Hessian be computed? |
"list". The gradient and Hessian (if required) matrices, see below. grad is an one-column matrix; Hess is a squared matrix whose dimension on row and column are same as length of B
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.