dissimilarities {analogue} | R Documentation |
Extracts a vector of dissimilarity coefficients from an object for further analysis.
dissimilarities(object, ...) dissim(object, ...) ## S3 method for class 'analog': dissimilarities(object, which = c("train", "analogs"), ...)
object |
an R object from which the dissimilarity values are to
be extracted. Currently only for objects of class "analog" . |
which |
character; which set of dissimilarities should be
extracted. One of "train" or "analogs" . |
... |
arguments passed to other methods. |
The function can be called using the much shorter name
"dissim"
.
A vector of dissimilarities.
Gavin L. Simpson
## continue the ImbrieKipp example from ?join example(join) ## analog matching between SWAP and RLGH core ik.analog <- analog(ImbrieKipp, V12.122, method = "chord") ik.analog summary(ik.analog) ## compare training set dissimilarities with normals ## and derive cut-offs ik.dissim <- dissim(ik.analog) plot(ik.dissim)