Additionally allows the specification of p-values. The corresponding
quantiles are calculated. These are contained as attributes in the
hdistance
object as returned by distanceHartmann. The lowest and
highest values are used as cutoffs in print.distance
.
# S3 method for hdistance
print(
x,
digits = 2,
col.index = TRUE,
upper = TRUE,
diag = FALSE,
cutoffs = NA,
p = NA,
...
)
Object of class hdistance.
Numeric. Number of digits to round to (default is
2
).
Logical. Whether to add an extra index column so the
column names are indexes instead of construct names. This option
renders a neater output as long construct names will stretch
the output (default is TRUE
).
Whether to display upper triangle of correlation matrix only
(default is TRUE
).
Whether to show the matrix diagonal.
Cutoff values. Values below or above this interval are not
printed. For Slater distances c(.8, 1.2)
are common
values.
Quantiles corresponding to probabilities are used as cutoffs.
Currently only works for Hartmann distances. If used
cutoffs
is overwritten.
Not evaluated.