Learn R Programming

analogue (version 0.17-7)

summary.cma: Summarise the extraction of close modern analogues

Description

summary method for class "cma".

Usage

# S3 method for cma
summary(object, ...)

Value

An object of class "summary.cma" with the components of an object of class cma, plus:

distances

a matrix of distances/dissimilarities. Individual columns contain the ordered close modern analogues for individual fossil samples. Rows of this matrix refer to the \(k^{\mathrm{th}}\) closest analogue for each fossil sample. See notes below.

samples

a matrix of sample names from the reference set that are close modern analogues for a fossil sample. Individual columns contain the ordered close modern analogues for individual fossil samples. Rows of this matrix refer to the \(k^{\mathrm{th}}\) closest analogue for each fossil sample. See notes below.

Arguments

object

an object of class "cma", usually the result of a call to cma.

...

arguments passed to or from other methods.

Author

Gavin L. Simpson

See Also

cma

Examples

Run this code
if (FALSE) {
## 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)

## close modern analogues
swap.cma <- cma(swap.analog, cutoff = 0.6)
swap.cma
summary(swap.cma)
}

Run the code above in your browser using DataLab