quad_form | R Documentation |
Compute quadratic form of a vector with a matrix, which can be the vector of coefficients and the covariance matrix extracted from a fitted model
quad_form(x, m = NULL, inv = TRUE, subset = NULL, vcov = NULL, ...)
x |
a numeric vector or a fitted model |
m |
a square numeric matrix |
inv |
a boolean, if |
subset |
a subset of the vector and the corresponding subset of the matrix |
vcov |
if |
... |
arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.