Description Usage Arguments Details Value Author(s) References Examples
This function computes and returns the distance matrix computed by
using the specified distance measure to compute the distances between
the rows of a data matrix. Instead of the row values as in the case of
dist
, the successive differences of the row values
are used.
1 |
x |
a numeric matrix, data frame or |
method |
the distance measure to be used. This must be one of
|
diag |
logical value indicating whether the diagonal of the
distance matrix should be printed by |
upper |
logical value indicating whether the upper triangle of the
distance matrix should be printed by |
p |
The power of the Minkowski distance. |
This function computes and returns the distance matrix computed by
using the specified distance measure to compute the distances between
the rows of a data matrix. Instead of the row values as in the case of
dist
, the successive differences of the row values
are used.
It's a simple wrapper function arround dist
. For
more details about the distances we refer to dist
.
The function may be helpful, if there is a shift w.r.t.\ the measured
bands; e.g.\ c(550, 500, 300, 250)
vs.\ c(510, 460, 260, 210)
.
diffDist
returns an object of class "dist"
; cf. dist
.
Matthias Kohl Matthias.Kohl@stamats.de
Flessa, F., Kehl, A., Kohl, M. Analysing diversity and community structures using PCR-RFLP: a new software application. Molecular Ecology Resources 2013 Jul; 13(4):726-33.
1 2 3 4 5 |
Loading required package: RColorBrewer
1 2
2 80
3 50 70
1 2
2 0
3 50 50
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.