summary.analog {analogue} | R Documentation |
Summarise analogue matching results
Description
summary
method for class "analog"
.
Usage
## S3 method for class 'analog'
summary(object, display = c("dist", "names", "quantiles"),
k = 10, probs = c(0.01, 0.02, 0.05, 0.1, 0.2), ...)
Arguments
object |
an object of class |
display |
character; one or more of the listed
choices. Determines which aspects of the |
k |
number of analogues to use. If missing, |
probs |
numeric; giving the probabilities of the distribution to
return quantiles for. See |
... |
arguments passed to or from other methods. |
Value
A list with one or more of the components listed below. Attributes
"method"
, "train"
, "call"
and "k"
contain
the dissimilarity coefficient used, whether the training set
dissimilarities were saved, the matched function call and the number
of close analogues to return respectively.
dists |
a matrix of dissimilarities between training set samples
and fossil samples. The number of rows is given by argument
|
names |
a matrix of names of samples from the training set that
are analogues for each fossil sample. The number of rows is given by
argument |
quantiles |
numeric; the quantiles of the distribution of the
pairwise dissimilarities for the training set for probabilities
|
Author(s)
Gavin L. Simpson
See Also
Examples
## Not run:
## continue the RLGH example from ?join
example(join)
## analog matching between SWAP and RLGH core
swap.analog <- analog(swapdiat, rlgh, method = "chord")
swap.analog
summary(swap.analog)
## End(Not run)