Description Usage Arguments Details Value Author(s) See Also Examples

Check whether a square matrix is symmetric.

1 | ```
is.symmetric(x)
``` |

`x` |
A square matrix with data. |

Instead of going through the whole matrix, the function will stop if the first disagreement is met.

A boolean value, TRUE of FALSE.

Manos Papadakis

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.

1 2 3 4 5 6 7 | ```
x <-matrix( rnorm( 100 * 400), ncol = 400 )
s1 <- cor(x)
is.symmetric(s1)
x <- x[1:100, ]
is.symmetric(x)
x<-s1<-NULL
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.