qform {lmerTest} | R Documentation |
Compute Quadratic Form
Description
Efficiently computes x' A x
- or in R-notation:
Usage
qform(x, A)
Arguments
x |
a numeric vector |
A |
a symmetric numeric matrix |
Details
Length of x
should equal the number of rows and columns of A
.
Value
a numerical scalar
[Package lmerTest version 3.1-3 Index]