print.dissimilarity | R Documentation |
Print or summarize the distances and the attributes of a
dissimilarity
object.
These are methods for the functions print()
and summary()
for
dissimilarity
objects. See print
, print.default
,
or summary
for the general behavior of these.
## S3 method for class 'dissimilarity'
print(x, diag = NULL, upper = NULL,
digits = getOption("digits"), justify = "none", right = TRUE, ...)
## S3 method for class 'dissimilarity'
summary(object,
digits = max(3, getOption("digits") - 2), ...)
## S3 method for class 'summary.dissimilarity'
print(x, ...)
x, object |
a |
digits |
the number of digits to use, see |
diag, upper, justify, right |
optional arguments specifying how
the triangular dissimilarity matrix is printed; see
|
... |
potential further arguments (require by generic). |
daisy
, dissimilarity.object
,
print
, print.default
, print.dist
.
## See example(daisy)
sd <- summary(daisy(matrix(rnorm(100), 20,5)))
sd # -> print.summary.dissimilarity(.)
str(sd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.