Description Usage Arguments Value Author(s) Examples
Checks if a matrix is symmetric.
1 | is.symmetric(X, stop = FALSE)
|
X |
Numeric matrix. A p \times p matrix. |
stop |
Logical.
If |
Returns FALSE
,
if the X
is not square and not symmetric.
Returns TRUE
,
if the X
is symmetric.
Ivan Jacob Agaloos Pesigan
1 2 3 4 5 6 7 8 9 | Sigma <- matrix(
data = c(
225, 112.50, 56.25,
112.5, 225, 112.5,
56.25, 112.50, 225
),
ncol = 3
)
is.symmetric(X = Sigma)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.