symmetric | R Documentation |
Check if an object is inherently symmetric (its structure, not its data)
symmetric(x, ...)
## S3 method for class 'ff'
symmetric(x, ...)
## Default S3 method:
symmetric(x, ...)
## S3 method for class 'dist'
symmetric(x, ...)
x |
an ff or ram object |
... |
further arguments (not used) |
ff matrices can be declared symmetric at creation time. Compatibility function symmetric.default
returns FALSE, symmetric.dist
returns TRUE.
TRUE or FALSE
Jens Oehlschlägel
symmetric
, ff
, dist
, isSymmetric
symmetric(matrix(1:16, 4, 4))
symmetric(dist(rnorm(1:4)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.